-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dellemc_configure_idrac_users error #26
Comments
@matt13rox , could you please share the following details:
|
I have the same problem. It only happens when a user updates themselves, idrac_user == user_name. |
@dfitz82, at this point in time, you can not use the openmanage modules to update the same user password. However, this functionality has now been provided in the redfish_command module:
|
Hi there, |
Sorry I missed the notifications. |
@matt13rox Are you still facing this issue? |
I ended up using redfish_command module and it works fine with it. You can close this issue |
@matt13rox We currently doesn't support password modification same user used for connecting to iDRAC. |
@matt13rox We have addressed this issue with the new module "idrac_user" Kindly verify and let us know |
@matt13rox Can you please verify and close this issue? |
@matt13rox This has been fixed module 'idrac_user' as stated above. Hence closing this issue. Thank You |
Hi guys
When I use dellemc_configure_idrac_users module to update the password of a user, the module fails with the following error:
autonomous-controller-automation ➤ ansible-playbook -i inventories/r640 r640-idrac-password-change.yml -vvv git:master*
ansible-playbook 2.7.5
config file = /home/mjoseph/my-dev/autonomous-controller-automation/ansible.cfg
configured module search path = [u'/home/mjoseph/my-dev/autonomous-controller-automation/library']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
Using /home/mjoseph/my-dev/autonomous-controller-automation/ansible.cfg as config file
/home/mjoseph/my-dev/autonomous-controller-automation/inventories/r640/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
/home/mjoseph/my-dev/autonomous-controller-automation/inventories/r640/hosts did not meet script requirements, check plugin documentation if this is unexpected
Parsed /home/mjoseph/my-dev/autonomous-controller-automation/inventories/r640/hosts inventory source with ini plugin
PLAYBOOK: r640-idrac-password-change.yml ********************************************************************************************************************************************************
1 plays in r640-idrac-password-change.yml
PLAY [Change iDRAC default password] ************************************************************************************************************************************************************
META: ran handlers
TASK [r640-server/idrac-password-change : Update iDRAC user password] ***************************************************************************************************************************
task path: /home/mjoseph/my-dev/autonomous-controller-automation/roles/r640-server/idrac-password-change/tasks/main.yaml:5
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: mjoseph
<127.0.0.1> EXEC /bin/sh -c 'echo ~mjoseph && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "
echo /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999
" && echo ansible-tmp-1546950649.02-88032968222999="echo /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999
" ) && sleep 0'Using module file /home/mjoseph/my-dev/autonomous-controller-automation/library/dellemc_configure_idrac_users.py
<127.0.0.1> PUT /home/mjoseph/.ansible/tmp/ansible-local-10148Syl2UU/tmpm9N380 TO /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999/AnsiballZ_dellemc_configure_idrac_users.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999/ /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999/AnsiballZ_dellemc_configure_idrac_users.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999/AnsiballZ_dellemc_configure_idrac_users.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/mjoseph/.ansible/tmp/ansible-tmp-1546950649.02-88032968222999/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"action": "modify",
"authenticationprotocol_users": null,
"enable_users": null,
"idrac_ip": "10.234.79.8",
"idrac_port": 443,
"idrac_pwd": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"idrac_user": "root",
"ipmilanprivilege_users": null,
"ipmiserialprivilege_users": null,
"privacyprotocol_users": null,
"privilege_users": null,
"protocolenable_users": null,
"share_mnt": null,
"share_name": "/tmp",
"share_pwd": null,
"share_user": null,
"solenable_users": null,
"user_name": "root",
"user_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
}
},
"msg": {
"Data": {
"Message": "Failed to get job detail",
"Status": "Failed"
},
"Status": "Failed",
"StatusCode": 401,
"retval": false
}
}
PLAY RECAP **************************************************************************************************************************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1
Thank you!
The text was updated successfully, but these errors were encountered: