]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Add OSDService.post_remove()
authorSebastian Wagner <sewagner@redhat.com>
Tue, 31 Aug 2021 09:38:14 +0000 (11:38 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:01:16 +0000 (10:01 +0100)
commit245f6a2cf10a9cce0e99508d181a6ac4f6c10b4f
treea36eb69747d0198f15f4d5a4d1d8872645f91e64
parent0eb0173a64260b4428b564da5c19e375522e719a
mgr/cephadm: Add OSDService.post_remove()

Do not remove the osd.N keyring, if we failed to deploy the OSD, because
we cannot recover from it. The OSD keys are created by ceph-volume and not by
us.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit d7a4c5794034e60e94dd12951f7dbf4685647686)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/iscsi.py
src/pybind/mgr/cephadm/services/nfs.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/test_cephadm.py