Bug 159193

Summary: When creating LVM on RAID partitions the anaconda-ks.cfg is invalid
Product: Red Hat Enterprise Linux 4 Reporter: Tom Diehl <me>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-21 20:07:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Diehl 2005-05-31 13:13:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040808 Firefox/0.9.3

Description of problem:
Description of problem: When creating LVM on RAID partitions the
anaconda-ks.cfg is invalid.  In particular, the "raid pv.20 --fstype
physical volume (LVM) --level=RAID1 raid.17 raid.18" line that was
created should have had the fstype quoted since it contains embedded
spaces.




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

How reproducible:
Always

Steps to Reproduce:
1. Do an install of el4 with lvm on raid.
2. reinstall using the partition information from anaconda-ks.cfg
3. Install fails with "Tried to use an undefined partition in RAID specification"
  

Actual Results:  Backtrace occurred.

Expected Results:  Normal install

Additional info:

The following line was generated by anaconda:
raid pv.26 --fstype physical volume (LVM) --level=RAID1 raid.24 raid.25

The above is the problem. Removing the --fstype part fixes the problem.
I suppose putting quotes around "physical volume (LVM)" would also fix it but I have not tested this.

This is the same bug as 119243 which was supposed to be fixed in el3-u3.

Comment 1 Jeremy Katz 2005-06-07 19:31:00 UTC
Fixed in CVS on all branches.