dell / redfish-ansible-module

Ansible modules for Out-Of-Band Controllers using Redfish APIs
GNU General Public License v3.0
195 stars 80 forks source link

failed to get firmwares inventory #52

Closed survietamine closed 6 years ago

survietamine commented 6 years ago

Hello, running get_firmware_inventory.yml against a 13g (r630) server with latest firmware (2.50.50.50), it failed. Others playbooks like get_system_inventory.yml worked fine. So, did I missed something? Do I have to enable some config in iDRAC?

fatal: [myserver.example.net -> localhost]: FAILED! => {
    "changed": false, 
    "invocation": {
        "module_args": {
            "FWPath": null, 
            "InstallOption": null, 
            "Model": null, 
            "baseuri": "myserver.rmcp.example.net", 
            "bios_attr_name": null, 
            "bios_attr_value": null, 
            "bootdevice": null, 
            "category": "Update", 
            "command": "GetFirmwareInventory", 
            "hostname": null, 
            "mgr_attr_name": null, 
            "mgr_attr_value": null, 
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", 
            "scpfile": null, 
            "sharehost": null, 
            "sharename": null, 
            "sharepswd": null, 
            "shareuser": null, 
            "user": "root", 
            "userid": null, 
            "username": null, 
            "userpswd": null, 
            "userrole": null
        }
    }, 
    "msg": "UpdateService does not exist"
}
...ignoring
prabhakarpujeri commented 6 years ago

@survietamine 13G Servers does not support firmware update

survietamine commented 6 years ago

@prabhakarpujeri thanks for your answer! I don't want to update my firmwares. Since that playbook is named get_firmware_inventory, should I still be able to list my firmwares from all my iDRAC using redfish?

prabhakarpujeri commented 6 years ago

even inventory collection API's are not available for 13G

survietamine commented 6 years ago

@prabhakarpujeri uffff, that redfish thing looks very new. So 14G is the way to go to nicely play with redfish and ansible?

survietamine commented 6 years ago

OK, I've seen in the README that Inventory won't work on all platforms. But why didn't I get what is mentionned in that example:

fatal: [r630 -> localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Not supported on this platform"} ...ignoring

jose-delarosa commented 6 years ago

survietamine, I just pushed a lot of new updates yesterday in an effort to make the module more vendor-neutral, so error messages are a bit more generic. I need to update the README, expect updates today or tomorrow.

jose-delarosa commented 6 years ago

@survietamine Updated the README with proper error message when getting firmware inventory. But as @prabhakarpujeri mentioned, firmware inventory and firmware upgrade are currently only supported in 14G PowerEdge servers.

survietamine commented 6 years ago

Thank you very much both guys :p

Le 12 févr. 2018 10:20 PM, "Jose Delarosa" notifications@github.com a écrit :

@survietamine https://github.com/survietamine Updated the README with proper error message when getting firmware inventory. But as @prabhakarpujeri https://github.com/prabhakarpujeri mentioned, firmware inventory and firmware upgrade are currently only supported in 14G PowerEdge servers.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dell/idrac-ansible-module/issues/52#issuecomment-365065631, or mute the thread https://github.com/notifications/unsubscribe-auth/APRZ4W-BSTE7ByvqjXWSacVn9_CR5o3qks5tUKsAgaJpZM4SB7Kw .

jose-delarosa commented 6 years ago

Closing, if you have other questions please open another issue.