]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: silence "Failed to evict container" log msg
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Jan 2021 15:14:03 +0000 (16:14 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 15:01:20 +0000 (16:01 +0100)
commit8de531ed61bf89847303bc7482a409739f837351
treec1f1806218d888d3632afea8b5d2073c366a6d5c
parent482eda5eea4262ce6a42509d97bad80a5b5fb28e
cephadm: silence "Failed to evict container" log msg

Right now, we're printing some evil looking messages in the log:

```
systemd[1]: Starting Ceph mgr.node2.ankmgz for ...
podman[32354]: Error: no container with name or ID ceph-... found: no such container
bash[32363]: Error: Failed to evict container: "": Failed to find container "ceph-..." in state: no container with name or ID ceph-... found: no such container
bash[32363]: Error: no container with ID or name "ceph-..." found: no such container
````

Also, the unit.run command already removes the container. No need
for ExecStartPre to do the same.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 1bed46e4b0094863a119df59c6ae5f254c2e211d)
src/cephadm/cephadm