Project

General

Profile

Actions

Bug #43969

closed

lvm list for single report is broken when passing vg/lv

Added by Guillaume Abrioux over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

17957d9 introduced a regression in lvm list.

When passing a vg/lv path for generating a single report, it fails (and return '{}')
because the filter used in the lvs command isn't right. It uses the lv
name instead of the vg name because os.path.basename(device) is used
while it should be os.path.dirname(device)


Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #43985: mimic: lvm list for single report is broken when passing vg/lvResolvedActions
Copied to ceph-volume - Backport #43986: nautilus: lvm list for single report is broken when passing vg/lvResolvedJan FajerskiActions
Actions

Also available in: Atom PDF