Bug 2087534

Summary: After upgrading to RHEL 8.6 non-root VG are not detected anymore
Product: Red Hat Enterprise Linux 8 Reporter: robert.pouliot
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Activating existing Logical Volumes QA Contact: cluster-qe <cluster-qe>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: agk, heinzm, jbrassow, msnitzer, prajnoha, robert.pouliot, teigland, zkabelac
Version: 8.6   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-14 12:12:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pvscan with lvm 2.03.14-3
none
pvscan with lvm 2.03.12-11 none

Description robert.pouliot 2022-05-18 00:38:31 UTC
Created attachment 1880661 [details]
pvscan with lvm 2.03.14-3

Description of problem:
After upgrading from 8.5 to 8.6 the non-root VG are not detected anymore.
Downgrading lvm2 to lvm2-2.03.12-11.el8_5.x86_64 (with dependencies: device-mapper-1.02.177-11) fixes the issue.

Version-Release number of selected component (if applicable):
lvm2-2.03.14-3 and device-mapper-1.02.181-3

How reproducible:
Always

Steps to Reproduce:
1. Upgrade lvm2 to latest.
2.
3.

Actual results:
Only root PV is detected


Expected results:
All 3 PV should be detected.


Additional info:

Comment 1 robert.pouliot 2022-05-18 00:39:04 UTC
Created attachment 1880662 [details]
pvscan with lvm 2.03.12-11

Comment 2 David Teigland 2022-05-18 19:47:56 UTC
In 8.6 lvm began using /etc/multipath/wwids to help identify multipath components, which should be ignored.  The attached pvscan shows the wwids for sdb1 and sdc1 are listed in /etc/multipath/wwids, so lvm ignores them:

pvscan[15665] device/dev-mpath.c:461  dev_is_mpath_component /dev/sdb1 multipath wwid 600508b1001c4f1808d6eace1ae87229
pvscan[15665] device/dev-mpath.c:461  dev_is_mpath_component /dev/sdc1 multipath wwid 600508b1001cfd059e1b819a16d14d53

If you're not using multipath on these devices, you should remove their wwids from /etc/multipath/wwids.  If you're trying to use the multipath blacklist with these wwids, then this is a known problem (bug 2076262) and will be fixed in the next release.  Another option is to disable lvm's use of /etc/multipath/wwids by setting lvm.conf multipath_wwids_file="".

Comment 3 robert.pouliot 2022-05-18 23:05:34 UTC
This is a duplicate of bug 2076262.

Comment 4 Zdenek Kabelac 2023-02-14 12:12:52 UTC

*** This bug has been marked as a duplicate of bug 2076262 ***