Skip to content
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]: Catalog.xml no longer at web location https://downloads.dell.com/Catalog.xml #443

Open
Mixer9 opened this issue Sep 26, 2022 · 1 comment
Labels
needs-triage Issue requires triage. type/bug Something isn't working

Comments

@Mixer9
Copy link

Mixer9 commented Sep 26, 2022

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:

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" && 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
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

@Mixer9 Mixer9 added needs-triage Issue requires triage. type/bug Something isn't working labels Sep 26, 2022
@sjpilot
Copy link

sjpilot commented Mar 29, 2023

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.
SUP028
IDRAC8 R430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue requires triage. type/bug Something isn't working
Projects
Development

No branches or pull requests

2 participants