mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 18:00:38 +00:00
show error msg for rpower bmcstate when username is wrong
This commit is contained in:
@ -75,6 +75,9 @@ class OpenBMCPowerTask(ParallelNodesCommand):
|
||||
login_message = "Login to BMC failed: Can't connect to {0} {1}.".format(e.host_and_port, e.detail_msg)
|
||||
self.callback.error(login_message, node)
|
||||
return bmc_state
|
||||
except SelfClientException as e:
|
||||
self.callback.error(e.message, node)
|
||||
return bmc_state
|
||||
|
||||
try:
|
||||
state = obmc.get_bmc_state()
|
||||
|
Reference in New Issue
Block a user