]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cepahadm: added some logic to avoid loading unknown certs/keys
authorRedouane Kachach <rkachach@ibm.com>
Wed, 19 Feb 2025 12:25:04 +0000 (13:25 +0100)
committerRedouane Kachach <rkachach@ibm.com>
Tue, 11 Mar 2025 09:34:23 +0000 (10:34 +0100)
commitdd6e81be3a26b41093a2f4216ac8aea2f3cbd37b
tree8b9fa15124ed43aa2b6e7fda0d3cd669448ff75f
parent40e5ab760af10906c8075bdca68011836379b083
mgr/cepahadm: added some logic to avoid loading unknown certs/keys

Those keys can be already present in the monstore because they were
used/generated by previous versions of cert_store (new certmgr). Since
they are not in use anymore we should not load them.

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/tests/test_certmgr.py
src/pybind/mgr/cephadm/tlsobject_store.py