Closed david-sieg closed 2 years ago
Task failed happens after ~30 minutes.
We thought ONTAP REST API would wait, according to the timeout value. We need to validate this. We have a second loop that is only set or 5 minutes.
DEVOPS-5241
Though the reported version is 21.19.1 for the collection, the error message Timeout error updating image: state
is specific to REST, so the collection must be slightly more recent.
We verified that the module correctly loops on getting the update job status, so it's not clear at this point why there would be a timeout after 30 minutes or so. We will enforce an additional check with a proper timer.
~~If you feel like it, you collect a trace to help us better understand what is going on under the cover: https://github.com/ansible-collections/netapp.ontap/wiki/Debugging#tracing-zapi-and-rest-api-calls~~
I observed a difference of behavior between ONTAP 9.8 and 9.9. With 9.8, I see what is described above, PATCH returns a long lived job, though it may not survive the reboot. With 9.9, PATCH returns a short lived job, and we need to poll the update status.
fixed in 21.22.0
Summary
For updating our NetApps I set extra value for timeout because of having 6 nodes. But this value isn't be used...
Component Name
netapp.ontap.na_ontap_software_update
Ansible Version
ONTAP Collection Version
ONTAP Version
Playbook
Steps to Reproduce
Expected Results
Running nice update
Actual Results