]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: rotate keyring for core ceph daemons during upgrade
authorAdam King <adking@redhat.com>
Wed, 14 May 2025 17:16:43 +0000 (13:16 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 22 Sep 2025 16:37:34 +0000 (12:37 -0400)
commit81ddb211ebff93a9f9fbbdc6b1a9832b5655e277
treed4d19f9e3cbae90943ef4037c5436eb3a943b6af
parent13617bd8f5cc03f84c6a40a0ba76212fae7cf4c4
mgr/cephadm: rotate keyring for core ceph daemons during upgrade

Specifically, this causes us to rotate the mgr, mon, OSD,
and mds keyrings. The mgr and mon keyring are done as soon
as we see all the mons have been upgraded and OSD/mds happens
when we reach them in the upgrade order.

NOTE: This patch alone is not enough to get this working
for encrypted OSDs

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 22cd38708fb4e5812c70fd928b909edccd783abc)
src/cephadm/cephadm.py
src/cephadm/cephadmlib/daemons/ceph.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/upgrade.py