dellemc-openmanage-ansible-modules
dellemc-openmanage-ansible-modules copied to clipboard
[BUG]: Catalog.xml no longer at web location https://downloads.dell.com/Catalog.xml
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:
- dellemc.openmanage
tasks:
- name: Update firmware from repository on a HTTP 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
echo /home/user/.ansible/tmp
"&& mkdir "echo /home/user/.ansible/tmp/ansible-tmp-1664206378.8698537-2984084-44209520842425
" && echo
ansible-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
Screenshots
No response
Additional Information
No response
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.