]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add `osd destroy`
authorJoao Eduardo Luis <joao@suse.de>
Wed, 31 May 2017 08:55:36 +0000 (09:55 +0100)
committerJoao Eduardo Luis <joao@suse.de>
Mon, 5 Jun 2017 14:21:58 +0000 (15:21 +0100)
commit07c2350a4144ca07fd77045eee9efab3e63751d2
tree536a9582bef7c2812259379994934d872b44f206
parent799291428602f842fce881bcdfd3133ccc57624c
mon: add `osd destroy`

This new command will remove a given osd's auth keys, along with any
daemon-private and dm-crypt info contained in the config-key store,
without actually removing the osd from crush.

Instead of removing the osd from the osdmap, we mark it as `destroyed`,
thus preventing competing, racing commands from recreating the osd.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/common/ceph_strings.cc
src/include/rados.h
src/mon/AuthMonitor.cc
src/mon/AuthMonitor.h
src/mon/ConfigKeyService.cc
src/mon/ConfigKeyService.h
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/osd/OSDMap.h