Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 58322

Summary: Kickstart fails when using RAID1 swap devices
Product: [Retired] Red Hat Linux Reporter: Jos Vos <jos>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-14 10:49:56 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:
Attachments:
Description Flags
Kickstart file causing the problem.
none
Anaconda dump file. none

Description Jos Vos 2002-01-14 10:47:51 UTC
Description of Problem:
When specifying a RAID1 swap device in the kickstart file, Anaconda fails with a
"TypeError: number coercion failed" message (Anaconda dump attached).

How Reproducible:
With attached ks.cfg file.

Additional information:
The same ks.cfg file with only the swap parts non-RAID1 works fine.  Diff output

32,33c32,35
< part raid.71 --size 1050 --ondisk hda
< part raid.72 --size 1050 --ondisk hdb
---
> #part raid.71 --size 1050 --ondisk hda
> #part raid.72 --size 1050 --ondisk hdb
> part swap --size 1050 --ondisk hda
> part swap --size 1050 --ondisk hdb
42c44
< raid swap      --level 1 --device md7 raid.71 raid.72
---
> #raid swap      --level 1 --device md7 raid.71 raid.72

Comment 1 Jos Vos 2002-01-14 10:48:55 UTC
Created attachment 42376 [details]
Kickstart file causing the problem.

Comment 2 Jos Vos 2002-01-14 10:49:51 UTC
Created attachment 42377 [details]
Anaconda dump file.

Comment 3 Jeremy Katz 2002-01-15 19:06:24 UTC

*** This bug has been marked as a duplicate of 55310 ***