Bug 1120339

Summary: kickstart with LVM on RAID1 fails
Product: Red Hat Enterprise Linux 7 Reporter: James Boyle <unixi>
Component: python-blivetAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: cmc, marcus, mbanas, pasteur, perry_yuan, tugov, unixi
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-05 06:53:35 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:
Attachments:
Description Flags
anaconda-tb-QsGGx4
none
anaconda.log
none
dmesg
none
fdisk
none
program.log
none
storage.log
none
storage.state
none
syslog none

Description James Boyle 2014-07-16 18:50:20 UTC
Description of problem:
When attempting to use kickstart to create a system with LVM on top of RAID 1, the installer craps out.

Version-Release number of selected component (if applicable):
anaconda 19.31.79-1

How reproducible:
Every time.

Steps to Reproduce:
Attempt to install from a kickstart with the following configuration:
# Format the partitions, clear mbr first
zerombr 
clearpart --all --initlabel

part raid.00 --size 768 --asprimary --ondrive=vda
part raid.10 --size 768 --asprimary --ondrive=vdb
part raid.01 --size 4096 --asprimary --ondrive=vda
part raid.11 --size 4096 --asprimary --ondrive=vdb
part raid.02 --size 1024 --asprimary --grow --ondrive=vda
part raid.12 --size 1024 --asprimary --grow --ondrive=vdb

raid /boot --fstype ext3 --device raid1-boot --level=RAID1 raid.00 raid.10
raid swap --fstype swap --device raid1-swap --level=RAID1 raid.01 raid.11
raid pv.00 --device raid1-pv --level=RAID1 raid.02 raid.12

volgroup vg0 pv.00

# Create more logical partitions
# CCE-14161-4, CCE-14777-2, CCE-14011-1, CCE-14171-3, CCE-14559-9  (Rows 2 - 6)

logvol / --fstype ext4 --name=root --vgname=vg0 --grow --size=1024
logvol /tmp  --fstype ext4 --name=temp --vgname=vg0 --size=32768 --fsoptions="nodev,noexec,nosuid"
logvol /home --fstype ext4 --name=home --vgname=vg0 --size=65536 --fsoptions="nodev"
logvol /var  --fstype ext4 --name=var  --vgname=vg0 --size=32768 --fsoptions="nodev"
logvol /var/log --fstype ext4 --name=varlog --vgname=vg0 --size=8192 --fsoptions="nodev,noexec,nosuid"
logvol /var/log/audit --fstype ext4 --name=audit --vgname=vg0 --size=4096 --fsoptions="nodev,noexec,nosuid"

Actual results:
Anaconda crashes; installation is halted.

Expected results:
The system should install with the configuration as detailed in the kickstart file.

Additional info:
Works in 6.5

Comment 2 Brian Lane 2014-07-18 01:09:16 UTC
Please attach the logs from /tmp/*log as individual text/plain attachments to this bug.

Comment 3 James Boyle 2014-07-21 16:30:54 UTC
Created attachment 919681 [details]
anaconda-tb-QsGGx4

Comment 4 James Boyle 2014-07-21 16:31:24 UTC
Created attachment 919682 [details]
anaconda.log

Comment 5 James Boyle 2014-07-21 16:32:46 UTC
Created attachment 919684 [details]
dmesg

Comment 6 James Boyle 2014-07-21 16:33:26 UTC
Created attachment 919685 [details]
fdisk

Comment 7 James Boyle 2014-07-21 16:34:06 UTC
Created attachment 919687 [details]
program.log

Comment 8 James Boyle 2014-07-21 16:34:37 UTC
Created attachment 919688 [details]
storage.log

Comment 9 James Boyle 2014-07-21 16:35:05 UTC
Created attachment 919689 [details]
storage.state

Comment 10 James Boyle 2014-07-21 16:35:24 UTC
Created attachment 919690 [details]
syslog

Comment 11 James Boyle 2014-07-21 16:37:14 UTC
The information I just added happened from a slightly different kickstart file -- it's the same as the one I already posted, but every logical volume except for "/" is commented out.

Comment 13 Vratislav Podzimek 2014-09-03 09:48:39 UTC
I think this could be a duplicate of bug 1093144 with a fix already available. Let's see if fixing bug 1093144 fixes this too.

Comment 15 Martin Banas 2014-12-15 08:13:35 UTC
I just verified that this bug is fixed on RHEL-7.1 Beta.

James, could you please check if it also works for you?

Thanks!

Comment 16 James Boyle 2015-01-02 21:57:21 UTC
Confirmed - the kickstart file now works with rhel-server-7.1-beta-1-x86_64

Happy New Year!
--James

Comment 17 Martin Banas 2015-01-05 06:53:35 UTC
Thanks!

Closing the bug.