]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: skip internal raid mirror LVs in inventory 69700/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:30:37 +0000 (15:30 +0200)
commitce4407c00dd0b9482112110f52dfba4e9be4dd8a
tree4b9530bd5574a897b2dc4eabfccbadbf6aa18275
parent7583396b95bbdf8f4ee48f99d9d250c7486f97bc
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