-
Notifications
You must be signed in to change notification settings - Fork 164
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
[BUG]: idrac_reset fails when idrac is InUse state #652
Comments
Hi @markatdxb can you please add/replace line 336 in idrac_reset.py like below and retry once again. |
hi, i just tested the proposed change but it didnt have any impact. Still getting the same error 331 'CustomDefaults': self.reset_custom_defaults, fatal: [localhost]: FAILED! => {"changed": false, "msg": "Lifecycle controller status check is InUse after 50 number of retries, Exiting.."} |
@ABHISHEK-SINHA10 @singh-lovepreet1 Please verify the scenario as part of validation. |
Hi @markatdxb, Can you try once with PR #675, we have validated it from our side. If you can validate, it will be great. |
[idrac_reset] - Fixing issue #652
Bug Description
issue started recently - used to work without any problems in the past - i started observing this in collection 9.2.0
we run deployment from ISO where ISO is mounted for default 120min
as deployments usually finish faster, we have process to reset idrac in order to unmount the ISO from iDrac after deployment is done
recently we started getting error "Lifecycle controller status check is InUse after 50 number of retries, Exiting.."
Component or Module Name
idrac_reset
Ansible Version
2.16.6
Python Version
Python 3.11.7
iDRAC/OME/OME-M version
IDRAC 7.00.00.171(Build 05)
Operating System
Linux OS
Playbook Used
dellemc.openmanage.idrac_reset:
idrac_ip: "{{ lom_ip }}"
idrac_user: "{{ lom_username }}"
idrac_pwd: "{{ lom_password }}"
validate_certs: false
register: idrac_reset_result
Logs
``{
"msg": "Lifecycle controller status check is InUse after 50 number of retries, Exiting..",
"invocation": {
"module_args": {
"idrac_ip": "10..10.10.10",
"idrac_user": "root",
"idrac_pwd": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"validate_certs": false,
"idrac_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"wait_for_idrac": true,
"job_wait_timeout": 600,
"force_reset": false,
"idrac_port": 443,
"timeout": 30,
"reset_to_default": null,
"custom_defaults_file": null,
"custom_defaults_buffer": null,
"ca_path": null
}
},
"_ansible_no_log": false,
"changed": false,
"_ansible_delegated_vars": {
"ansible_host": "localhost",
"ansible_port": null,
"ansible_user": "user",
"ansible_connection": "local"
}
}
Steps to Reproduce
run task to put idrac into the InUse state
run task to try reset idrac
Expected Behavior
expected is to have idrac reset
Actual Behavior
error message - Lifecycle controller status check is InUse after 50 number of retries, Exiting..
and module fail state
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: