Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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.6Flags: pm-rhel: mirror+
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 ***