ceph-ansible/roles/ceph-node-exporter
Guillaume Abrioux ce86d695c2 container: force rm --storage on ExecStartPre
This is a workaround to avoid error like following:
```
Error: error creating container storage: the container name "ceph-mgr-magna022" is already in use by "4a5f674e113f837a0cc561dea5d2cd55d16ca159a647b7794ab06c4c276ef701"
```

that doesn't seem to be 100% reproducible but it shows up after a
reboot. The only workaround we came up with at the moment is to run
`podman rm --storage <container>` before starting it.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 5ba7824c55)
2020-11-16 16:37:46 -05: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 container: force rm --storage on ExecStartPre 2020-11-16 16:37:46 -05:00