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 - list-harddrives shows software RAID devices
Summary: list-harddrives shows software RAID devices
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Martin Kolman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1256306
TreeView+ depends on / blocked
 
Reported: 2016-02-24 11:43 UTC by Jan Stodola
Modified: 2017-02-09 08:56 UTC (History)
2 users (show)

Fixed In Version: anaconda-21.48.22.64-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:22:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.log (4.32 KB, text/plain)
2016-02-24 11:45 UTC, Jan Stodola
no flags Details
program.log (22.27 KB, text/plain)
2016-02-24 11:45 UTC, Jan Stodola
no flags Details
storage.log (59.58 KB, text/plain)
2016-02-24 11:45 UTC, Jan Stodola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2158 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2016-11-03 13:13:55 UTC

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


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