commit 48b106f40915c3d642499ca44efae1d78617c427
Author: Mark Goddard <email address hidden>
Date: Thu Nov 14 12:12:07 2019 +0000
Attempt to pull image before stopping and removing container
* Deploy services using kolla-ansible deploy
* Reconfigure the image for one or more services to use an invalid
* config
* Deploy/reconfigure services using kolla-ansible reconfigure
The invalid config could be a wrong docker registry, wrong image name,
wrong tag, etc.
The restart handler for the service fails, and the old container is
left running.
The restart handler for the service fails, and the old container is
stopped and removed. This leaves the service in a broken state.
This change fixes the issue by pulling the image if necessary prior to
stopping and removing the container.
Change-Id: I85b2a1b224d4c4d85c32c4922a2cd2c41171a1dc
Closes-Bug: #1852572
(cherry picked from commit 64d07c0b7fedf96c489772f7e6619fe112e4189a)
Reviewed: https:/ /review. opendev. org/694813 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=48b106f4091 5c3d642499ca44e fae1d78617c427
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 48b106f40915c3d 642499ca44efae1 d78617c427
Author: Mark Goddard <email address hidden>
Date: Thu Nov 14 12:12:07 2019 +0000
Attempt to pull image before stopping and removing container
* Deploy services using kolla-ansible deploy
* Reconfigure the image for one or more services to use an invalid
* config
* Deploy/reconfigure services using kolla-ansible reconfigure
The invalid config could be a wrong docker registry, wrong image name,
wrong tag, etc.
The restart handler for the service fails, and the old container is
left running.
The restart handler for the service fails, and the old container is
stopped and removed. This leaves the service in a broken state.
This change fixes the issue by pulling the image if necessary prior to
stopping and removing the container.
Change-Id: I85b2a1b224d4c4 d85c32c4922a2cd 2c41171a1dc c489772f7e6619f e112e4189a)
Closes-Bug: #1852572
(cherry picked from commit 64d07c0b7fedf96