]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix a bug in get_all_devices_vgs() 48707/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 2 Nov 2022 15:03:17 +0000 (16:03 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 14 Dec 2022 16:59:19 +0000 (17:59 +0100)
commit770cd09412f933eeb93426a8acfc4f4666c99024
tree0c831781e057b9c09fc8226c4bb02b57f7840b0f
parent63a77b2c5b683cb241f865daec92c046152175b4
ceph-volume: fix a bug in get_all_devices_vgs()

When a physical volume isn't a member of any volume group,
the function `get_all_devices_vgs()` in `ceph_volume.api.lvm`
shouldn't try to return an `VolumeGroup()` object against this
device.

Fixes: https://tracker.ceph.com/issues/57918
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/ceph_volume/api/lvm.py