EnableUser command fails if no Enabled property is present #59822
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
remote_management
Working Group: https://docs.ansible.com/ansible/latest/community/communication.html
support:community
This issue/PR relates to code supported by the Ansible community.
SUMMARY
When using the
EnableUser
command, if the account being targeted does not have anEnabled
property, the command may fail with a400 Bad Request
.ISSUE TYPE
COMPONENT NAME
redfish_command.py
redfish_utils.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Applies to Redfish OOB controllers.
STEPS TO REPRODUCE
Try to run the EnableUser command for an account that does not have the
Enabled
property.EXPECTED RESULTS
Command succeeds with
changed=0
.ACTUAL RESULTS
Command fails with:
The text was updated successfully, but these errors were encountered: