Closed ikegentz closed 4 years ago
@ikegentz, I can see that you are using OneView API version 900. We haven't added support for API version 900 yet, the latest supported version is 800. Please try to run your playbook with API version 600 and let us know if any errors.
@sijeesh I get the same issue with API version 800 and API version 600.
@ikegentz, let me have a look in to this.
Experiencing the same issue. Had to place extra code to get the idempotency by running the facts module. Not a nice solution. I'm also seeing the same behaviour with the oneview_server_hardware module.
Filed my issue as https://github.com/HewlettPackard/oneview-ansible/issues/439
Firmware bundles don't support GET calls and so it is not possible to check if the particular bundle exists in oneview. So we can't make it idempotent.
And also it is mentioned in the "oneview_firmware_bundle" module documentation(line 30) that it is non-idempotent. Closing this issue, since the firmware bundle resource doesn't support the expected functionality.
Scenario/Intent
Attempting to upload an SPP to a Synergy enclosure using the
oneview_firmware_bundle
module. Re-running the playbook I would expect to see an "OK" response from Ansible if the SPP is already detected to be there.Environment Details
Steps to Reproduce
HPE_Synergy_Custom_SPP_2019.03.20190718_Z7550-96734.iso
oneview_firmware_bundle
module in the following manner:OK
from Ansible, a genericHTTP 500
error is returnedExpected Result
Instead of an
HTTP 500
error, I would expect theoneview_firmware_bundle
module to see that the firmware has already been uploaded, and quickly receive anOK
message from Ansible.Actual Result
An
HTTP 500
error with this message is returned from Ansibleand then the playbook aborts execution.