git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updating with tweaks to live deployment.
[monitor.git]
/
monitor
/
bootman.py
diff --git
a/monitor/bootman.py
b/monitor/bootman.py
index
36d8b35
..
2afbbf6
100755
(executable)
--- a/
monitor/bootman.py
+++ b/
monitor/bootman.py
@@
-643,7
+643,7
@@
def restore(sitehist, hostname, config=None, forced_action=None):
sitehist.sendMessage('newbootcd_notice', hostname=hostname)
print "\tDisabling %s due to out-of-date BootImage" % hostname
sitehist.sendMessage('newbootcd_notice', hostname=hostname)
print "\tDisabling %s due to out-of-date BootImage" % hostname
- api.UpdateNode(hostname, {'boot_state' : 'disable'})
+ api.UpdateNode(hostname, {'boot_state' : 'disable
d
'})
# NOTE: nothing else is possible.
return True
# NOTE: nothing else is possible.
return True
@@
-693,7
+693,7
@@
def restore(sitehist, hostname, config=None, forced_action=None):
log=conn.get_dmesg().read()
sitehist.sendMessage('baddisk_notice', hostname=hostname, log=log)
log=conn.get_dmesg().read()
sitehist.sendMessage('baddisk_notice', hostname=hostname, log=log)
- conn.set_nodestate('disable')
+ conn.set_nodestate('disable
d
')
return False
return False
@@
-813,7
+813,7
@@
def restore(sitehist, hostname, config=None, forced_action=None):
args['log'] = conn.get_dmesg().read()
sitehist.sendMessage('baddisk_notice', **args)
args['log'] = conn.get_dmesg().read()
sitehist.sendMessage('baddisk_notice', **args)
- conn.set_nodestate('disable')
+ conn.set_nodestate('disable
d
')
elif sequences[s] == "update_hardware_email":
if not found_within(recent_actions, 'minimalhardware_notice', 1):
elif sequences[s] == "update_hardware_email":
if not found_within(recent_actions, 'minimalhardware_notice', 1):