]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-disk: use 'ceph osd destroy' for 'ceph-disk destroy'
authorSage Weil <sage@redhat.com>
Thu, 1 Jun 2017 18:48:39 +0000 (14:48 -0400)
committerLoic Dachary <ldachary@redhat.com>
Fri, 14 Jul 2017 17:46:59 +0000 (19:46 +0200)
commit1921aa904e5f45f4fa12b3542631aaa13c8a107c
treea88a1d5cfe0d9d54de6d1dfbed8376d9336e88eb
parentb3404bd8418d3b0fd15bfab4b6c0f900fa5d1aaf
ceph-disk: use 'ceph osd destroy' for 'ceph-disk destroy'

- simplifies interaction with monitor, makes it atomic
- marks the OSD as DESTROYED so that the id may be potentially reused
- --purge option to also remove from CRUSH and deallocate the id.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk/ceph_disk/main.py
src/ceph-disk/tests/test_main.py