]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: configurable per-service stop timeout 65468/head
authorKushal Deb <Kushal.Deb@ibm.com>
Tue, 9 Sep 2025 12:02:00 +0000 (17:32 +0530)
committerKushal Deb <Kushal.Deb@ibm.com>
Thu, 9 Oct 2025 05:28:06 +0000 (10:58 +0530)
commita2f2696398c3813cfa420050be5cfd901ab3a4a3
tree871bb5eae251178e172b5bd86ed0b3a117cc1fb7
parent588d8315e02407a6035073281feb98566f0cba4b
mgr/cephadm: configurable per-service stop timeout

Introduce a termination_grace_period field in service spec to define how long the
orchestrator should wait for a service to shut down gracefully before forcefully terminating it.
The value is plumbed mgr -> cephadm and written into 'unit.stop' as 'podman stop -t <N>'

Signed-off-by: Kushal Deb <Kushal.Deb@ibm.com>
src/cephadm/cephadm.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_spec.py
src/pybind/mgr/orchestrator/tests/test_orchestrator.py
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py