]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: retry cleaning old cgroups when it fails 67049/head
authorAdam King <adking@redhat.com>
Thu, 22 Jan 2026 16:25:02 +0000 (11:25 -0500)
committerAdam King <adking@redhat.com>
Thu, 22 Jan 2026 16:25:02 +0000 (11:25 -0500)
commit457cb8b407de2bf1e2fda43d205a159163d1b73a
tree53c748221e9b63a0b8c31ac6834a7c21c6631629
parentd28fdf35d28853e6729417843dbea057e1788fa7
cephadm: retry cleaning old cgroups when it fails

It is possible that when attempting to redeploy a daemon
the shutdown of the daemon from cephadm running `systemctl stop`
may not have completed and we'll be unable to finish
cleaning the old cgroup. In these cases, moving on
immediately to try to start the systemd unit tends to
result in it failing to start. This patch adds a retry
to cleaning the old cgroups that should hopefully
avoid the race condition and daemons failing to start
because of it

Signed-off-by: Adam King <adking@redhat.com>
src/cephadm/cephadm.py