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
When you try to power on a server that is already powered on you receive an error. The dellemc_change_power_state module should catch this error and report status as unchanged.
Current workaround is to ignore_errors.
FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": {"Data": {"Message": "returned status code doesn't match with the expected success code", "Status": "Failed", "StatusCode": 409}, "Message": "none", "Status": "Failed", "StatusCode": 409, "error": {"error": {"@Message.ExtendedInfo": [{"Message": "Server is already powered ON.", "MessageArgs": [], "MessageArgs@odata.count": 0, "MessageId": "IDRAC.2.1.PSU501", "RelatedProperties": [], "RelatedProperties@odata.count": 0, "Resolution": "No response action is required.", "Severity": "Informational"}], "code": "Base.1.5.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information"}}, "retval": true}}
The text was updated successfully, but these errors were encountered:
@tsquillario We have replaced 'dellemc_change_power_state' module with newer module 'redfish_powerstate'. Verify idempotency behaviour in the newer module.
When you try to power on a server that is already powered on you receive an error. The dellemc_change_power_state module should catch this error and report status as unchanged.
Current workaround is to ignore_errors.
FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "msg": {"Data": {"Message": "returned status code doesn't match with the expected success code", "Status": "Failed", "StatusCode": 409}, "Message": "none", "Status": "Failed", "StatusCode": 409, "error": {"error": {"@Message.ExtendedInfo": [{"Message": "Server is already powered ON.", "MessageArgs": [], "MessageArgs@odata.count": 0, "MessageId": "IDRAC.2.1.PSU501", "RelatedProperties": [], "RelatedProperties@odata.count": 0, "Resolution": "No response action is required.", "Severity": "Informational"}], "code": "Base.1.5.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information"}}, "retval": true}}
The text was updated successfully, but these errors were encountered: