HewlettPackard / ilo-ansible-collection

Ansible Collection and Sample Playbooks for HPE iLO
Apache License 2.0
40 stars 20 forks source link

AttributeError: 'iLOOemUtils' object has no attribute 'get_updateservice_data' #21

Open dblviking opened 9 months ago

dblviking commented 9 months ago

Using: hpe.ilo.ilo_firmware: category: UpdateService command: FirmwareUpload

File "/tmp/ansible_hpe.ilo.ilo_firmware_payload_ratr86mw/ansible_hpe.ilo.ilo_firmware_payload.zip/ansible_collections/hpe/ilo/plugins/modules/ilo_firmware.py", line 321, in File "/tmp/ansible_hpe.ilo.ilo_firmware_payload_ratr86mw/ansible_hpe.ilo.ilo_firmware_payload.zip/ansible_collections/hpe/ilo/plugins/modules/ilo_firmware.py", line 292, in main File "/tmp/ansible_hpe.ilo.ilo_firmware_payload_ratr86mw/ansible_hpe.ilo.ilo_firmware_payload.zip/ansible_collections/hpe/ilo/plugins/module_utils/ilo_oem_utils.py", line 3661, in firmware_upgrade_with_upload AttributeError: 'iLOOemUtils' object has no attribute 'get_updateservice_data'

I tried both galaxy and the github repos

I inspected the .ansible/collections/ansible_collections/hpe/ilo/plugins/module_utils/ilo_oem_utils.py and there's only a get_update_service_state function?

ansible [core 2.14.10] python version = 3.9.16

ansible-galaxy collection list | grep -Ei "general|hpe" community.general 7.4.0 hpe.ilo 1.0.34

Bhavya06 commented 8 months ago

Hi @dblviking , Could you share the whole playbook you are using and the functionality you are trying to perform?