git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f098e3
)
Added a fix for HPiLO that got lost some how.
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 28 Nov 2007 22:24:48 +0000
(22:24 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 28 Nov 2007 22:24:48 +0000
(22:24 +0000)
reboot.py
patch
|
blob
|
history
diff --git
a/reboot.py
b/reboot.py
index
fb30ace
..
49db556
100755
(executable)
--- a/
reboot.py
+++ b/
reboot.py
@@
-1096,9
+1096,13
@@
def reboot_test(nodename, values, continue_probe, verbose, dryrun):
# iLO
elif continue_probe and values['model'].find("HP iLO") >= 0:
- hpilo = HPiLO(values, verbose, ['22'])
- rb_ret = hpilo.reboot(0, dryrun)
- if rb_ret != 0:
+ try:
+ hpilo = HPiLO(values, verbose, ['22'])
+ rb_ret = hpilo.reboot(0, dryrun)
+ if rb_ret != 0:
+ hpilo = HPiLOHttps(values, verbose, ['443'])
+ rb_ret = hpilo.reboot(0, dryrun)
+ except:
hpilo = HPiLOHttps(values, verbose, ['443'])
rb_ret = hpilo.reboot(0, dryrun)