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