Update curl calls to retry 7x, or just long enough to survive a 2-minute outage (not including other connection overhead).
This defines and uses an rcurl alias where convenient, but in some locations, such as where scripts are written to disk, it uses --retry 7. Both behave equivalently.
Why is this needed
In production, we've occasionally seen instances where metadata servers are busy and/or otherwise unavailable. This will allow provisioning jobs to survive these momentary availability blips and transient networking issues.
Signed-off-by: Thomas Stromberg t+github@stromberg.org
Description
Update curl calls to retry 7x, or just long enough to survive a 2-minute outage (not including other connection overhead).
This defines and uses an
rcurl
alias where convenient, but in some locations, such as where scripts are written to disk, it uses--retry 7
. Both behave equivalently.Why is this needed
In production, we've occasionally seen instances where metadata servers are busy and/or otherwise unavailable. This will allow provisioning jobs to survive these momentary availability blips and transient networking issues.
How Has This Been Tested?
It hasn't.