]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add 'osd destroy-new' command that only destroys NEW osd slots 22429/head
authorSage Weil <sage@redhat.com>
Tue, 5 Jun 2018 22:30:14 +0000 (17:30 -0500)
committerSage Weil <sage@redhat.com>
Tue, 5 Jun 2018 22:36:06 +0000 (17:36 -0500)
commit547d96dc01cd913f6543528eb75bb5015e00e893
tree1a40b1e8ef44863dd123121ba36eb69ee759d213
parentd106ff4668aae445dd3ff53d10b54f970a5fa36a
mon: add 'osd destroy-new' command that only destroys NEW osd slots

ceph-volume may run into a problem and want to clean up, but we do not
want to give it blanket access to the 'osd destroy' command.  Instead,
make an 'osd destroy-new' that can only create new OSDs (ones that are
in the process of being created but have never booted yet).

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephtool/test.sh
src/mon/MonCommands.h
src/mon/OSDMonitor.cc