]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: mark a device not available if it belongs to ceph-disk 26117/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:51:01 +0000 (09:51 -0600)
commitfb4e9d7aed785f1c6771b9fe2a75950767421f4b
tree10738f254f002ea360ed1e6d2fd5612c640776f1
parent923a7ae885a0d6a73c24d538a8cea2da53b4a7e9
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