Skip to content

ceph-volume: skip internal raid mirror LVs in inventory - #69569

Merged
guits merged 1 commit into
ceph:mainfrom
guits:fix-77486
Jun 24, 2026
Merged

guits merged 1 commit into
ceph:mainfrom
guits:fix-77486

Conversation

@guits

@guits guits commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

ceph-volume inventory started including all LVM mapper devices after c06bee9. 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

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@guits
guits requested a review from a team as a code owner June 18, 2026 05:28
@guits
guits force-pushed the fix-77486 branch 2 times, most recently from f33b0de to a4622bf Compare June 18, 2026 07:18

@asm0deuz asm0deuz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guits

guits commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

@jmundack FYI

ceph-volume inventory started including all LVM mapper devices after
c06bee9. 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 <[email protected]>
@guits

guits commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

jenkins ceph-volume unit tests

@guits
guits merged commit 62ccfb2 into ceph:main Jun 24, 2026
6 checks passed
@guits
guits deleted the fix-77486 branch June 24, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants