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 2002550 - Anaconda should create /etc/lvm/devices/system.devices config file and populate it with existing LVM devices
Summary: Anaconda should create /etc/lvm/devices/system.devices config file and popula...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Vladimír Slávik
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 2005034
TreeView+ depends on / blocked
 
Reported: 2021-09-09 08:06 UTC by Vojtech Trefny
Modified: 2021-12-07 21:23 UTC (History)
7 users (show)

Fixed In Version: anaconda-34.25.0.17-1.el9_b
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2005034 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:20:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-96612 0 None None None 2021-09-09 08:07:31 UTC
Red Hat Issue Tracker RTT-3748 0 None None None 2021-09-16 16:44:50 UTC
Red Hat Issue Tracker RTT-3749 0 None None None 2021-09-16 16:44:55 UTC

Description Vojtech Trefny 2021-09-09 08:06:44 UTC
LVM introduced a new config file /etc/lvm/devices/system.devices which should contain all PVs that LVM will use on RHEL 9. This behaviour is now enabled by default in LVM[1] (but it will fallback to "scan everything" if the file is not present). for more information. Blivet doesn't add newly created PVs (or PVs of existing VGs reused during the installation) to the config file (full support of this LVM feature in Blivet is planned for 9.0[2]) effectively disabling the LVM feature in 9 beta. This creates a situation where a LVM feature approved for 9 beta is disabled for all installed systems.

To avoid this, Anaconda should create and populate the system.devices config file. This can be done by  calling "vgimportdevices -a" on the installed system (in chroot) which will create create the system.devices file and add all existing LVM PVs to it. This solution was suggested by the LVM team as a simple way to make sure the LVM devices file feature is not disabled by the installer (Blivet) for 9 beta[3].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1749513
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1983705
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1984851#c14

Comment 3 Vladimír Slávik 2021-09-09 11:34:07 UTC
PR with first fix attempt: https://github.com/rhinstaller/anaconda/pull/3600

Comment 11 Jan Stodola 2021-10-01 09:03:04 UTC
anaconda-34.25.0.17-1.el9_b is present in RHEL-9.0.0-20210930.4, moving to VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.