]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: gracefully shutdown the agent prior to removing
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 1 Dec 2023 08:03:58 +0000 (08:03 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:16:26 +0000 (15:16 +0000)
commit29f5df38472badf5ce58936f813eaa3ac0d0b432
tree0d5e7cf7b12df3ed307bdde52da4864a862d3d0d
parentc54d3e2f3b0ab825fc8ffaa3f5ccd3024d4459f2
cephadm: gracefully shutdown the agent prior to removing

When the agent is removed, the daemon is abruptly stopped.
Since the node-proxy logic runs from within the cephadm agent,
it leaves an active RedFish session. The idea is to gracefully
shutdown the agent so node-proxy can catch that event and make sure
it closes the current active RedFish session prior to shutting down.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 79bfe642001a7f9e1da28f987d1edb45174f6e86)
src/cephadm/cephadm.py
src/pybind/mgr/cephadm/agent.py
src/pybind/mgr/cephadm/services/cephadmservice.py