]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fixing logic in cert-store save_cert method 63853/head
authorRedouane Kachach <rkachach@ibm.com>
Mon, 16 Dec 2024 11:17:50 +0000 (12:17 +0100)
committerAdam King <adking@redhat.com>
Sat, 21 Jun 2025 17:56:31 +0000 (13:56 -0400)
commit9f0fd11029f59646317cde3159cbe73672062613
tree6d06096abf7dece2c97fa26ea08d5589524ecb6c
parenta6884afbc0d7fd68ffbaf825f4b86c04db273964
mgr/cephadm: fixing logic in cert-store save_cert method

the previous code was not saving the certificates correctly, it just
overwritten the same entry reducing all the certificates to only
one. The new logic traverse and save all the certificates from the
cert dictionary.

Fixes: https://tracker.ceph.com/issues/69252
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
(cherry picked from commit b71ec88c13c836e753becf807c07c46ad6076428)

Conflicts:
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/tests/test_cephadm.py