]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: mark a device not available if it belongs to ceph-disk 26118/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 22 Jan 2019 15:32:00 +0000 (09:32 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 24 Jan 2019 15:52:44 +0000 (09:52 -0600)
commit4b644a8d3ab32467f095f4ba299ae2f56369a564
tree5d48d50368aea18b5924fd6075ef6fd0480e9cc8
parent31e008a087dc03ca9961103e3b2272e72fc18eed
ceph-volume: mark a device not available if it belongs to ceph-disk

The `ceph-volume inventory` command will now show if a device is being
used by ceph-disk and mark it not available if so.

Fixes: https://tracker.ceph.com/issues/24871
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit d14a6b284c44a3f61c0dd8c60ccc474203003653)
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py