Currently the retry mechanism is broken for pushing because the image
state gets set to an error state, and is never reset to 'built'. This
prevents the PushTask from setting success to True.
This change sets the image state to 'built' if the push succeeds,
ensuring it overrides any previous failures.
Reviewed: https:/ /review. opendev. org/683406 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=eeb2b1ec1f2 6d867583cc8dc9f 8050270e124538
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit eeb2b1ec1f26d86 7583cc8dc9f8050 270e124538
Author: Mark Goddard <email address hidden>
Date: Thu Sep 19 17:20:50 2019 +0100
Fix retries when pushing images
Currently the retry mechanism is broken for pushing because the image
state gets set to an error state, and is never reset to 'built'. This
prevents the PushTask from setting success to True.
This change sets the image state to 'built' if the push succeeds,
ensuring it overrides any previous failures.
Change-Id: I93fc0e383da8fe c6b3ca31f809432 1c2a0c3af71
Closes-Bug: #1844697