Bug 786955

Summary: Anaconda crashes with kickstart using mdraid 10 and LVM
Product: Red Hat Enterprise Linux 6 Reporter: Pavel Snajdr <psnajdr>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-03 18:11:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
anaconda xml output
none
Kickstart used
none
lshw
none
screenshot none

Description Pavel Snajdr 2012-02-02 18:28:02 UTC
Created attachment 559106 [details]
anaconda xml output

I would like to kickstartize my servers installation, but I can't, because anaconda is crashing all the time at disk partitioning.

I use this layout:

---------------------------
[root@ph04r01 ~]# cat /proc/mdstat 
Personalities : [raid1] [raid10] 
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]
      975719424 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 1/8 pages [4KB], 65536KB chunk

md0 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      524276 blocks super 1.0 [4/4] [UUUU]
      
unused devices: <none>
[root@ph04r01 ~]# pvs
  PV         VG       Fmt  Attr PSize   PFree
  /dev/md1   vg_ephan lvm2 a-   930.52g    0 
[root@ph04r01 ~]# vgs
  VG       #PV #LV #SN Attr   VSize   VFree
  vg_ephan   1   3   0 wz--n- 930.52g    0 
[root@ph04r01 ~]# lvs
  LV      VG       Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  root    vg_ephan -wi-ao  20.00g                                      
  storage vg_ephan -wi-ao 906.52g                                      
  swap    vg_ephan -wi-ao   4.00g      
---------------------------

... and I just can't find any way how to kickstart it.

If I try to use the anaconda-generated kickstart which appears at /root/anaconda-ks.cfg after the installation, I need to change order of the lines (because it tries to use a PV before it is actually defined, etc. which is probably bug as well), anaconda crashes.

I tried to modify it a bit, even add %pre to overwrite first 32 MB of all hard drives, doesn't help.

The same problem occurs with:

- RHEL 6.1
- RHEL 6.2
- Scientific Linux 6.1
- CentOS 6.1
- CentOS 6.2

Attached is the latest kickstart and what it produces on SL 6.1 (because that's the last one I've tried so I collected the logs from it) - anaconda xml output + screenshot. Also you can have a look at lshw output.

Comment 1 Pavel Snajdr 2012-02-02 18:28:20 UTC
Created attachment 559107 [details]
Kickstart used

Comment 2 Pavel Snajdr 2012-02-02 18:28:39 UTC
Created attachment 559108 [details]
lshw

Comment 3 Pavel Snajdr 2012-02-02 18:29:04 UTC
Created attachment 559109 [details]
screenshot

Comment 7 RHEL Program Management 2012-05-03 05:42:50 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 8 David Cantrell 2012-07-03 18:11:30 UTC
Reporter's account has been closed.  Cannot proceed.