Bug 806113

Summary: Custom partitions on ppc64 result in unbootable partition layout
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, czhang, dcallagh, eguan, gbai, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-06 04:40: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:

Description Dan Callaghan 2012-03-22 22:35:32 UTC
When a user specifies custom partitions on ppc64, our rhts_partitions snippet will produce the following partition commands in the kickstart:

> part None --fstype 'PPC PReP Boot' --size 8
> part /boot --fstype ext3 --size 200 --recommended 
> part / --fstype ext3 --size 1024 --grow --asprimary 
> part swap --recommended --asprimary 
> # User's custom partitions appear here

In this case the /boot partition may end up as a logical partition, which will fail to boot:

> /vdevice/v-scsi@30000002/disk@8100000000000000:-1,/etc/yaboot.conf: Unknown or corrupt filesystem 
> Can't open config file

Comment 1 Eryu Guan 2012-03-23 06:58:40 UTC
This bug prevents a bunch of file system testings which need custom partition on ppc64 running in beaker. I bumped the severity to high. 

I'll be great and helpful to have this bug fixed.

Thanks!

ps. seems s390x host with custom partition cannot boot in beaker either

Comment 2 David Lehman 2012-03-23 15:09:43 UTC
A fix for bug 725418 should prevent the ppc install from completing with /boot on a logical partition. So anaconda should not allow /boot on logical on ppc, but beaker should also not insert --asprimary unless it is actually requested.

Comment 3 Dan Callaghan 2012-08-10 06:34:17 UTC
On Gerrit: http://gerrit.beaker-project.org/1287

Comment 6 Dan Callaghan 2012-09-06 04:40:23 UTC
Beaker 0.9.3 has been released.