ansible-collections / community.hashi_vault

Ansible collection for managing and working with HashiCorp Vault.
https://docs.ansible.com/ansible/devel/collections/community/hashi_vault/index.html
GNU General Public License v3.0
80 stars 59 forks source link

The action for getting docker image versions is getting stuck lately #344

Closed briantist closed 1 year ago

briantist commented 1 year ago
SUMMARY

The action I created for trying to get current versions of Vault seems to be getting stuck a lot recently. In CI it sits there until the workflow limit of 360 minutes causes the job to be cancelled.

https://github.com/ansible-collections/community.hashi_vault/blob/main/.github/actions/docker-image-versions/versions.py

I don't have a definite reason why that would be. I have retries with backoff in place, I'm wondering if the issue is similar to this: https://stackoverflow.com/a/47457580/3905079

where the retry-after header being returned from dockerhub is very long. I've also seen some conflicting information about whether that header value is seconds or milliseconds, which could also be an issue.