W/o this patch Staging::file cannot handle non transient (connectivity)
errors.
For example, curl or wget command could be used with their --retry keys,
but that would work only for transient (4xx/5xx) errors and would fail
when the connection was refused.
The solution is to add retries for the file transfer when non
transient connection errors exist
W/o this patch Staging::file cannot handle non transient (connectivity) errors. For example, curl or wget command could be used with their --retry keys, but that would work only for transient (4xx/5xx) errors and would fail when the connection was refused.
The solution is to add retries for the file transfer when non transient connection errors exist
Closes-bug: #MODULES-1651
Signed-off-by: Bogdan Dobrelya bdobrelia@mirantis.com