]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: save host cache data after scheduling daemon action 48517/head
authorAdam King <adking@redhat.com>
Mon, 17 Oct 2022 18:56:34 +0000 (14:56 -0400)
committerAdam King <adking@redhat.com>
Tue, 18 Oct 2022 14:26:45 +0000 (10:26 -0400)
commit2ff3ae71fac22f9267451442b9e43c49375e40e3
tree0cf9c6b4e1a5aa4a78a18d9ae53e688c11f73921
parent73bc835bb17c15443d73fbf52988bcb9f956c9be
mgr/cephadm: save host cache data after scheduling daemon action

Otherwise, the actions could be lost on a mgr failover
despite us including shceduled actions as part of the data
we store in the config-key entry for the host.

This also makes it impossible to redeploy the active mgr
with a new image in one command.

Fixes: https://tracker.ceph.com/issues/57884
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_cephadm.py