diff --git a/confluent_server/confluent/discovery/handlers/xcc.py b/confluent_server/confluent/discovery/handlers/xcc.py index 77535ce3..23a6c437 100644 --- a/confluent_server/confluent/discovery/handlers/xcc.py +++ b/confluent_server/confluent/discovery/handlers/xcc.py @@ -477,6 +477,13 @@ class NodeHandler(immhandler.NodeHandler): tmpaccount = None while status != 200: tries -= 1 + rsp, status = wc.grab_json_response_with_status( + '/redfish/v1/AccountService/Accounts/{0}'.format(uid)) + if status >= 500: + if tries < 0: + raise Exception('Redfish account management failure') + eventlet.sleep(30) + continue rsp, status = wc.grab_json_response_with_status( '/redfish/v1/AccountService/Accounts/{0}'.format(uid), {'UserName': username}, method='PATCH')