]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: show devices with GPT headers as not available 40201/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 17 Mar 2021 20:19:08 +0000 (15:19 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 17 Mar 2021 20:19:08 +0000 (15:19 -0500)
commit1347243242fc55c904c4d94fb43bdf0bcfc23ab0
tree9871a748f870b67892adb2276d230e7346d88faa
parent59af5fc5556f76134a3061508542120431067a51
ceph-volume: show devices with GPT headers as not available

This patch ensures that if a device has GPT headers it will
not show up in `ceph-volume inventory` as available.

Fixes: https://tracker.ceph.com/issues/48697
Resolves: rhbz#1908065

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