mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Have a clause for redfish not yet ready
We need redfish, but redfish is slow to boot on TSM..
This commit is contained in:
parent
56f8ca0982
commit
eeb3a3fa65
@ -102,6 +102,8 @@ class NodeHandler(generic.NodeHandler):
|
||||
if status >= 200 and status < 300:
|
||||
authdata['password'] = self.targpass
|
||||
eventlet.sleep(10)
|
||||
else:
|
||||
raise Exception("Redfish may not have been ready yet")
|
||||
else:
|
||||
rsp, status = wc.grab_json_response_with_status('/api/reset-pass', urlencode(passchange))
|
||||
authdata['password'] = self.targpass
|
||||
|
Loading…
Reference in New Issue
Block a user