X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=monitor%2Fdatabase%2Finfo%2Finterface.py;h=7a41b893751be913d40c7ab321eb2ee8ae20ec42;hb=3f2acbd8b7761dae4bb02fedd3557e1003cafb43;hp=2e5064d1538564b39c950166ae5dfd59cbdde31a;hpb=c9d06f3b274ecbc092a0b3eb1f5ceb6c0f734aad;p=monitor.git diff --git a/monitor/database/info/interface.py b/monitor/database/info/interface.py index 2e5064d..7a41b89 100644 --- a/monitor/database/info/interface.py +++ b/monitor/database/info/interface.py @@ -1,4 +1,3 @@ -import bootman # debug nodes from monitor import reboot from monitor.common import * @@ -162,6 +161,7 @@ class SiteInterface(HistorySiteRecord): self.db.message_status = "new" def runBootManager(self, hostname): + from monitor import bootman print "attempting BM reboot of %s" % hostname ret = "" try: @@ -193,6 +193,6 @@ class SiteInterface(HistorySiteRecord): act = ActionRecord(loginbase=self.db.loginbase, hostname=hostname, action='reboot', - action_type='first_try_reboot', + action_type='try_reboot', error_string=err)