Ensure container's image get updated if their name stay the same.
In some environment the containers' tag isn't modified (think "latest"). This is already supported during deployment so we re-use the code during update. We also make sure that the same mechanism is available for ovn_controller update. It can be selectively disable if one pass: --skip-tags ovn_image to the external-update run command. We remove the ignore error as it's wrong indication that we are not taking errors into account in those tasks. We also adjust the delay as it's 3 seconds by default making the time we check longer than the async tasks. Eventually, we add a new parameter for controlling the downloading of the image "OVNControllerImageUpdateTimeout" which is set to 10min by default. Note that in order to pass CI, we need to modify the tht syntax test: - ensure containers.podman collection is installed; - ensure custom tripleo-ansible filter are found; - make sure tripleo_role_name is defined in the syntax test playbook. Change-Id: I6d439367816d5f5968b8f890f74b7a2f74715f52changes/33/850933/13
Reference in new issue