kolla-ansible/ansible/library
Mark Goddard 64d07c0b7f 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
2019-11-14 15:08:09 +00:00
..
bslurp.py Add support for sha256 in ceph key distribution 2019-08-07 11:57:46 +00:00
kolla_ceph_keyring.py ceph: fixes to deployment and upgrade 2019-08-05 06:26:25 +00:00
kolla_container_facts.py Update hacking version 2018-12-27 04:44:49 +00:00
kolla_docker.py Attempt to pull image before stopping and removing container 2019-11-14 15:08:09 +00:00
kolla_toolbox.py Add service-rabbitmq role 2019-10-01 14:44:43 +01:00