]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: mark a device not available if it belongs to ceph-disk
authorAndrew Schoen <aschoen@redhat.com>
Tue, 22 Jan 2019 15:32:00 +0000 (09:32 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 22 Jan 2019 22:12:34 +0000 (16:12 -0600)
commitd14a6b284c44a3f61c0dd8c60ccc474203003653
tree5a590387f1b97c5312275ceb099873ac9060f836
parent2c6a785410311041a86abdad235ebc3d1830813d
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>
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py