ceph-ansible/roles/ceph-node-exporter
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
..
meta Merge cephmetrics/dashboard-ansible repo 2019-05-17 16:05:58 +02: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