]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: silence "Failed to evict container" log msg 38804/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Jan 2021 15:14:03 +0000 (16:14 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Jan 2021 15:14:03 +0000 (16:14 +0100)
commit1bed46e4b0094863a119df59c6ae5f254c2e211d
tree46477dfa97c6017c5781b032f25c7053eb64f100
parentb72feb781ff6be5007963cf3cb1e94e677a19c2b
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>
src/cephadm/cephadm