You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix BMCUser account creation and password rotation on Dell iDRAC (#946)
- Move BMC account creation out of ensureBMCSecretForUser into the
Status.ID == "" branch where it belongs; the function now only
manages the Kubernetes BMCSecret and its reference
- Include the password in the same PATCH when updating an existing
account; Dell iDRAC returns HTTP 400 when RoleId/Enabled are
modified without a password in the request body
- Set Status.ID and Status.LastRotation atomically in patchUserStatus
to avoid a stale ResourceVersion conflict from a second Status patch
- Move setBMCUserSecretRef after CreateOrUpdateAccount in both
handleRotatingPassword and ensureBMCSecretForUser so that a BMC
failure does not leave Spec.BMCSecretRef pointing at an unverified
secret, which would cause an infinite rotation loop
- Fix mock server to update the authentication store when Password is
changed via PATCH, matching the behaviour of the real Redfish PATCH
Signed-off-by: Stefan Hipfel <stefan.hipfel@sap.com>
0 commit comments