2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-28 08:11:45 +00:00

Successfully track credential currency across change

This commit is contained in:
Jarrod Johnson 2024-08-06 09:30:13 -04:00
parent 8c13816331
commit feaef79060

View File

@ -236,6 +236,8 @@ class NodeHandler(generic.NodeHandler):
rsp, status = wc.grab_json_response_with_status(targaccturl, authupdate, method='PATCH')
if status >= 300:
raise Exception("Failed attempting to update credentials on BMC")
self.curruser = user
self.currpass = passwd
wc.set_basic_credentials(user, passwd)
_, status = wc.grab_json_response_with_status('/redfish/v1/Managers')
tries = 10