]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: skip internal raid mirror LVs in inventory 69703/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 18 Jun 2026 05:19:43 +0000 (07:19 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 29 Jun 2026 13:29:31 +0000 (15:29 +0200)
commit9a87c3c7117760be670cf60ca35ea03a3501efa9
treef12e3a52f42b24717565ebe37008312c83e33276
parent1878edb2df357bb79bfc04707b3915bb1568f004
ceph-volume: skip internal raid mirror LVs in inventory

ceph-volume inventory started including all LVM mapper devices after
c06bee965f1. On hosts with raid mirrored system volumes, that pulls in
hidden legs like var_rmeta_0 which have no /dev/vg/lv node and makes
cephadm's ceph-volume inventory call fail.

Skip those internal LVs in get_devices() and avoid rewriting the device
path to a missing lv_path in Device._parse().

Fixces: https://tracker.ceph.com/issues/77486

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit daec7e125a167bb8fd0fb9faaa04879f0bb215d2)
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/tests/util/test_disk.py
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py