]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: stop sidecar systemd units when restarting main units 62593/head
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 26 Mar 2025 17:37:04 +0000 (13:37 -0400)
committerAdam King <adking@redhat.com>
Mon, 31 Mar 2025 23:36:41 +0000 (19:36 -0400)
commit0844a113b7e9a698ddf493401e557c76e299c6d1
treed153e5c3b7be8bbf0271741974c7729b4fd3362c
parent4fc56063c232ba1bc00c45c1ba8b33e65553c1a2
cephadm: stop sidecar systemd units when restarting main units

Previously, sidecar units might (will) not be stopped when the primary
unit is stopped. This breaks the normal cephadm workflow to redeploy:
stop and then start the services. This patch reuses the logic from
the service stop to stop the individual sidecars.

Note: the sidecars are not individually started as that should already
be handled automatically when starting the primary service!

Co-authored-by: Adam King <adking@redhat.com>
Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit cc2872c0cb8d2dfefac540af852a62f325038b92)
src/cephadm/cephadm.py