]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: stop sidecar systemd units when restarting main units 62525/head
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 26 Mar 2025 17:37:04 +0000 (13:37 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 26 Mar 2025 18:19:46 +0000 (14:19 -0400)
commitcc2872c0cb8d2dfefac540af852a62f325038b92
tree3717af8295ff00698a9820c59b6b99022087959b
parent95d639590e784c223dda484b1d91284948b4295d
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>
src/cephadm/cephadm.py