]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: remove daemon before osd destroy/purge
authorSage Weil <sage@newdream.net>
Wed, 17 Feb 2021 21:20:22 +0000 (15:20 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 9 Mar 2021 09:18:50 +0000 (10:18 +0100)
commitc341757f6044eb01da03255a5ffcf773651efb7f
tree8a80e50a546b8da36849eeb99744e60b0ccdd8d2
parent2dfbc42d6beb6e9f9997265d3012460e8b6fc358
mgr/cephadm: remove daemon before osd destroy/purge

Otherwise it doesn't work!

Drop the fullname property: it is always "osd.{self.osd_id}".

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit b5eab0ddfa0bb8ae7b1a6aec4ea2e4257a01a045)
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/services/osd.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_osd_removal.py