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 1967212 - [RFE] Use LVM devices file instead of filter regex
Summary: [RFE] Use LVM devices file instead of filter regex
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-blivet
Version: 9.0
Hardware: All
OS: Linux
high
medium
Target Milestone: beta
: ---
Assignee: Vojtech Trefny
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 1983705 2031775
Blocks: 2011329
TreeView+ depends on / blocked
 
Reported: 2021-06-02 15:54 UTC by David Lehman
Modified: 2023-09-22 09:51 UTC (History)
8 users (show)

Fixed In Version: python-blivet-3.4.0-10.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 13: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 RTT-4015 0 None None None 2021-11-16 20:43:32 UTC
Red Hat Issue Tracker RTT-4016 0 None None None 2021-11-16 20:43:38 UTC
Red Hat Product Errata RHBA-2022:2494 0 None None None 2022-05-17 13:21:07 UTC

Description David Lehman 2021-06-02 15:54:25 UTC
Description of problem:
Blivet should be capable of adjusting LVM's devices file while configuring storage.

Expected results:
Blivet adjusts the LVM devices file, if desired, instead of passing filter regex on the command line. It would probably be useful to provide calls to explicitly manipulate the list of allowed devices and to write the file on demand.

Additional Information:
If the devices file is the default/preferred method of device filtering we should be writing the file out as part of OS installation.

Comment 4 David Teigland 2021-06-24 16:51:26 UTC
> Blivet adjusts the LVM devices file, if desired, instead of passing filter
> regex on the command line. 

To use a limited set of devices for just one command (i.e. on the command line), and not made a persistent change to the set of devices that are visible to the OS, then you can use the new command line option "--devices /dev/foo".  The command will only look at devices named by this option.  (The option can be repeated to make more than one device visible to the command.)

Comment 7 Vojtech Trefny 2021-10-06 12:51:48 UTC
upstream PR: https://github.com/storaged-project/blivet/pull/972

Comment 8 Vojtech Trefny 2021-10-13 14:09:42 UTC
*** Bug 2013063 has been marked as a duplicate of this bug. ***

Comment 19 Jan Stodola 2022-01-20 09:46:13 UTC
python3-blivet-3.4.0-11.el9 is included in RHEL-9.0.0-20220117.0.
There was one issue found during testing of this feature and it has been reported as bug 2040302 (against anaconda).
Possible regressions found later in the test cycle will be reported as new bugs.

Moving this bug to VERIFIED.

Comment 21 errata-xmlrpc 2022-05-17 13:20:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: python-blivet), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2494


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