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 1311512

Summary: list-harddrives shows software RAID devices
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: mkolman, pkotvan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-21.48.22.64-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 23:22:26 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:
Bug Depends On:    
Bug Blocks: 1256306    
Attachments:
Description Flags
anaconda.log
none
program.log
none
storage.log none

Description Jan Stodola 2016-02-24 11:43:55 UTC
Description of problem:
When running list-harddrives in %pre section of a kickstart file on a system with a software RAID, this RAID device is shown in the list of available hard drives.

Version-Release number of selected component (if applicable):
RHEL-7.2 GA
anaconda-21.48.22.56-1.el7

How reproducible:
always

Steps to Reproduce:
1. have a system with a software RAID
2. run a kickstart installation containing
%pre
list-harddrives > /hdds
%end

3. check the content of /hdds during the installation

Actual results:
md127 5120.0
vda 10240.0
vdb 10240.0

Expected results:
* Software RAID devices are not listed
vda 10240.0
vdb 10240.0

Comment 1 Jan Stodola 2016-02-24 11:45:06 UTC
Created attachment 1130185 [details]
anaconda.log

Comment 2 Jan Stodola 2016-02-24 11:45:26 UTC
Created attachment 1130186 [details]
program.log

Comment 3 Jan Stodola 2016-02-24 11:45:42 UTC
Created attachment 1130187 [details]
storage.log

Comment 5 Martin Kolman 2016-04-08 16:24:23 UTC
The script no longer returns software RAID devices + a documentation file has been added to docs/list-harddrives.rst describing how the list-harddrives script works.

Comment 7 Peter Kotvan 2016-07-19 09:26:56 UTC
Verified on RHEL-7.3-20160707.2 with RHEL-7.3-20160707.2.

Comment 8 Peter Kotvan 2016-07-19 09:27:51 UTC
With anaconda-21.48.22.79-1.el7 actually.

Comment 10 errata-xmlrpc 2016-11-03 23:22:26 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, 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://rhn.redhat.com/errata/RHEA-2016-2158.html