Bug 670643

Summary: Missing --label= flag for raid kickstart option
Product: Red Hat Enterprise Linux 6 Reporter: Jeff Vier <jv>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED NEXTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
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: 2011-01-20 15:11:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Vier 2011-01-18 21:40:23 UTC
Description of problem:
"partition" option has a --label= flag.  "raid" option should, too.

Version-Release number of selected component (if applicable):
6.0, 5.6, 5.5, ...

How reproducible:
Always

Steps to Reproduce:
1. In kickstart config:
...
part raid.0 --ondisk=sda --asprimary --fstype ext2 --size=100
part raid.1 --ondisk=sdb --asprimary --fstype ext2 --size=100
raid /boot --label=boot --level=1 --device=md0 --fstype=ext2 raid.0 raid.1
...

2. initiate kickstart of the node

3. observe console
  
Actual results:
Error halting kickstart

Expected results:
/dev/md0 gets labeled, goes into /etc/fstab referenced as such.

Additional info:
Work-around is running `e2label /dev/md0 /boot` in %post and then hacking the /etc/fstab, but that's non-ideal.

Comment 2 Chris Lumens 2011-01-20 15:11:43 UTC
Yeah, that's kind of a glaring omission isn't it?

I've committed this to master for both anaconda and pykickstart, which means it'll be in F15 and (eventually) RHEL7.  If you can't wait that long - and I understand that could be a while - please raise this issue through your support person who will make sure it gets on our schedule, etc.  Thanks.

Comment 3 Jeff Vier 2011-01-20 18:12:27 UTC
Do you mind linking to the precise commit?  I'm curious....