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
Check if host is already off if redfish api call returns 409
If a Dell server is already off when trying to fence it the idrac will
return "HTTP/1.1 409 Conflict".
Let's try to handle this condition gracefully, performing one more api
call to assess the server power status instead of failing immediately.
If the idrac returns 409 and powerstatus="off" we can assume the server
is in the proper state and can be considered successfully fenced, thus
safe to evacuate.
This commit also removes leftover exception debug lines that would
expose secrets in the logs if ipmi is used.
Jira: https://issues.redhat.com/browse/OSPRH-20661Closes: #434
0 commit comments