commit 13678cb045ca0ab1abc72455b7f71b7cce7406bc
Author: Steve Baker <email address hidden>
Date: Thu Mar 1 10:50:40 2018 +0000
Use tenacity for image upload retries
This change replaces the custom image pull/push retry loop with a
tenacity annotation.
The docker client uses requests, so this fixes an issue where requests
can raise a vendored urllib3 exception if the registry doesn't respond
at all. This will now be caught by tenacity and treated as a retry
condition.
Reviewed: https:/ /review. openstack. org/548914 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=13678cb045c a0ab1abc72455b7 f71b7cce7406bc
Committed: https:/
Submitter: Zuul
Branch: master
commit 13678cb045ca0ab 1abc72455b7f71b 7cce7406bc
Author: Steve Baker <email address hidden>
Date: Thu Mar 1 10:50:40 2018 +0000
Use tenacity for image upload retries
This change replaces the custom image pull/push retry loop with a
tenacity annotation.
The docker client uses requests, so this fixes an issue where requests
can raise a vendored urllib3 exception if the registry doesn't respond
at all. This will now be caught by tenacity and treated as a retry
condition.
Change-Id: Ifa08f21ccbc1bf 04732462d284495 46cf146c53a
Closes-Bug: #1749663