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
Lifecycle controller on R430 IDRAC8 retrieves config.xml.gz per attachments
After allowing .xml.gz to pass the validation in the Ansible module, the error above is raised. I believe OMDK needs modification / error lies in external function idrac.update_mgr.update_from_dell_repo_url.
Bug Description
The file Catalog.xml is no longer provided at the url https://downloads.dell.com/Catalog.xml The file is compressed now and appears to be located at http://downloads.dell.com/catalog/Catalog.xml.gz . The code should be updated to handle the compressed file at the new location.
Component or Module Name
idrac_firmware
Ansible Version
ansible [core 2.12.2]
Python Version
Python 3.9.10
iDRAC/OME/OME-M version
iDRAC Version = 2.83.83.83
Operating System
RHEL 7
Playbook Used
name:
hosts: all
gather_facts: yes
become: yes
collections:
tasks:
idrac_firmware:
idrac_ip: "redacted"
idrac_user: "root"
idrac_password: "redacted"
share_name: "https://downloads.dell.com"
reboot: True
job_wait: True
apply_update: True
validate_certs: False
register: output
delegate_to: localhost
environment:
http_proxy: http://vzproxy.verizon.com:9290
https_proxy: https://vzproxy.verizon.com:9290
Logs
no log
Steps to Reproduce
Run the playbook, the issue happens everytime
Expected Behavior
I expect to be able to get the Catalog.xml in order to update the iDRAC firmware
Actual Behavior
TASK [Update firmware from repository on a HTTP] *****************************************************************************************************************************************************
task path: /home/user/development/ops/redhat/ansible/rh_update_iDRAC.yml:18
ESTABLISH LOCAL CONNECTION FOR USER: v683653
EXEC /bin/sh -c 'echo ~user && sleep 0'
EXEC /bin/sh -c '( umask 77 && mkdir -p "
echo /home/user/.ansible/tmp
"&& mkdir "echo /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425
" && echoansible-tmp-1664206378.8698537-2984084-44209520842425="
echo /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425
" ) && sleep 0'Using module file /usr/share/ansible/collections/ansible_collections/dellemc/openmanage/plugins/modules/idrac_firmware.py
PUT /home/user/.ansible/tmp/ansible-local-2984065_0wfmf8w/tmpy14dwffm TO /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425/AnsiballZ_idrac_firmware.py
EXEC /bin/sh -c 'chmod u+x /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425/ /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842
425/AnsiballZ_idrac_firmware.py && sleep 0'
EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-kponinyqlbryudwujxymbubdlwghhriu ; http_proxy=http://vzproxy.verizon.com:9290 https_proxy=https://vzproxy.veri
zon.com:9290 /usr/bin/python3.9 /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425/AnsiballZ_idrac_firmware.py'"'"' && sleep 0'
EXEC /bin/sh -c 'rm -f -r /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425/ > /dev/null 2>&1 && sleep 0'
fatal: [twnohslg02 -> localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"apply_update": true,
"ca_path": null,
"catalog_file_name": "Catalog.xml",
"idrac_ip": "redacted",
"idrac_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"idrac_port": 443,
"idrac_user": "root",
"ignore_cert_warning": true,
"job_wait": true,
"reboot": true,
"share_mnt": null,
"share_name": "https://downloads.dell.com",
"share_password": null,
"share_user": null,
"timeout": 30,
"validate_certs": false
}
},
"msg": "Firmware update failed.",
"update_status": {
"ElapsedTimeSinceCompletion": "0",
"InstanceID": "JID_642064011241",
"JobStartTime": "NA",
"JobStatus": "Failed",
"JobUntilTime": "NA",
"Message": "Unable to download Update Package.",
"MessageArguments": "NA",
"MessageID": "RED006",
"Name": "Repository Update",
"PercentComplete": "NA",
"Status": "Failed",
"file": "https://downloads.dell.com/Catalog.xml",
"job_details": {
"Data": {
"GetRepoBasedUpdateList_OUTPUT": {
"Message": "The GetRepoBasedUpdateList method did not complete successfully",
"MessageID": "SUP028",
"ReturnValue": "2"
}
},
"Message": "The GetRepoBasedUpdateList method did not complete successfully",
"MessageID": "SUP028",
"Return": "Error",
"Status": "Error",
"retval": true
},
"retval": false
}
}
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: