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:


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.