fix the obvious error message problem..
@@ -119,9 +119,9 @@ class rackhd_stack_init(unittest.TestCase):
else:
# Power cycle all nodes via IPMI, display warning if no nodes found
if fit_common.power_control_all_nodes("off") == 0:
- print '**** No supported PDU found, restarting nodes using IMPI.'
- else:
print '**** No BMC IP addresses found in arp table, continuing without node restart.'
+ else:
+ print '**** No supported PDU found, restarting nodes using IMPI.'
# power on all nodes under any circumstances
fit_common.power_control_all_nodes("on")
