dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
328 stars 161 forks source link

dell firmware update issue #17

Closed kumaresan078 closed 4 years ago

kumaresan078 commented 5 years ago

Hi,

I am trying to update firmware via ansible using dell-emc-ansible-module but it fails with below error.Can someone help me out?

Playbook:


Output:

fatal: [192.168.17.47]: FAILED! => { "changed": false, "invocation": { "module_args": { "idrac": null, "idrac_ip": " 192.168.17.47", "idrac_port": 443, "idrac_pwd": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "idrac_user": "test", "job_wait": true, "reboot": false, "share_mnt": "/mnt", "share_name": "192.168.17.18:/racadm/firmware/", "share_pwd": "{'required': False}", "share_user": "{'required': False}" } }, "msg": "Error: 'NoneType' object has no attribute 'use_redfish'" }

Contents of firmware directory:

[root@test]# ls -lrt total 83 -rw-r--r-- 1 root root 60937340 Nov 17 13:23 ESM_Firmware_MXKG2_LN32_2.91_A00.BIN -rw-r--r-- 1 root root 10852356 Nov 17 13:23 BIOS_0F4YY_LN_6.6.0.BIN -rw-r--r-- 1 root root 13612935 Nov 17 13:23 Lifecycle-Controller_Legacy_Application_0WFGM_LN_1.7.5.4_A00.BIN [root@test]

Also is there way to integrate this module with openmanage? We have openamnager installed which we use for firmware update.

Regards Kumaresan

anupamaloke commented 5 years ago

@kumaresan078 , the firmware update modules expects a catalog file and a firmware repository on a network share (CIFS or NFS). You can use Dell EMC Repository Manager to create a firmware repository for your servers and export the repository to a network share along with a catalog file.

All these modules work out-of-band by directly invoking the iDRAC REST/WS-Man APIs and therefore no agent (OpenManage Server Administrator or OMSA in short) is required to be running on server.

HTH

rajeevarakkal commented 4 years ago

Closing this issue now since there is no update for a long time. Try out our latest idrac_firmware module and let us know in case you still face any issues