This change parses the error output of a failed skopeo inspect to
detect if it is a missing image error, then adds tenacity retries for all
other error types.
Failures are being seen in CI due to transient AWS DNS issues, so this change
should make image inspections more resilient.
Change-Id: If5ad384cfc8783c3b10c4cc567e42f06e5c6880b
Closes-Bug: #1779213
(cherry picked from commit 2dbcc9036aed8f47467e81b028f2fae76dd28816)
Reviewed: https:/ /review. openstack. org/582297 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=bd92a6ad476 caf16e8d9dbf18d 290f260b00e94b
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit bd92a6ad476caf1 6e8d9dbf18d290f 260b00e94b
Author: Steve Baker <email address hidden>
Date: Tue Jul 3 14:08:08 2018 +1200
Retry inspect of container images
This change parses the error output of a failed skopeo inspect to
detect if it is a missing image error, then adds tenacity retries for all
other error types.
Failures are being seen in CI due to transient AWS DNS issues, so this change
should make image inspections more resilient.
Change-Id: If5ad384cfc8783 c3b10c4cc567e42 f06e5c6880b 7467e81b028f2fa e76dd28816)
Closes-Bug: #1779213
(cherry picked from commit 2dbcc9036aed8f4