ceph-ansible/roles/ceph-prometheus
Dimitri Savineau d408c75d76 podman: always remove container on start
In case of failure, the systemd ExecStop isn't executed so the container
isn't removed. After a reboot of a failed node, the container doesn't
start because the old container is still present in created state.
We should always try to remove the container in ExecStartPre for this
situation.
A normal reboot doesn't trigger this issue and this also doesn't affect
nodes running containers via docker.
This behaviour was introduced by d43769d.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1858865

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 47b7c00287)
2020-07-24 12:47:21 -04:00
..
files dashboard: Support podman 2019-05-17 16:05:58 +02:00
handlers docker2podman: manage dashboard nodes 2020-06-03 13:20:24 -04:00
meta lint: fix error [303,602,701,702] 2019-10-21 15:55:54 -04:00
tasks docker2podman: manage dashboard nodes 2020-06-03 13:20:24 -04:00
templates podman: always remove container on start 2020-07-24 12:47:21 -04:00