vultr / ansible-collection-vultr

GNU General Public License v3.0
28 stars 17 forks source link

retry on gateway timeout #104

Closed resmo closed 10 months ago

resmo commented 10 months ago

Description

Add retry on gateway timeout:

TASK [instance : test reinstall instance] **************************************
fatal: [testhost]: FAILED! => {"changed": false, "fetch_url_info": {"body": "We are currently conducting some software upgrades.  Check back in a few minutes!\n", "connection": "close", "content-length": "82", "content-type": "text/html; charset=utf-8", "date": "Sun, 17 Dec 2023 16:30:04 GMT", "etag": "\"635ad729-52\"", "msg": "HTTP Error 504: Gateway Time-out", "server": "nginx", "status": 504, "strict-transport-security": "max-age=63072000", "url": "https://api.vultr.com/v2/instances/72c898c5-1c85-4d02-8294-bbbaca5b6d94/reinstall", "x-content-type-options": "nosniff", "x-frame-options": "DENY", "x-robots-tag": "noindex,noarchive"}, "msg": "Failure while calling the Vultr API v2 with POST for \"/instances/72c898c5-1c85-4d02-8294-bbbaca5b6d94/reinstall\"."}

Related Issues

Checklist:

codecov-commenter commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (688da98) 63.00% compared to head (72cfd24) 63.00%. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #104 +/- ## ======================================= Coverage 63.00% 63.00% ======================================= Files 3 3 Lines 419 419 Branches 62 62 ======================================= Hits 264 264 Misses 154 154 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.