Bug 1143755

Summary: Server RC1 kickstart fails to partition drive
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: amulhern, bcl, dlehman, g.kaviyarasu, jonathan, robatino, vanmeeuwen+fedora, vpodzime
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-blivet-0.61.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-05 00:20:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1043129    
Attachments:
Description Flags
anaconda.log
none
storage.log
none
storage.state
none
program.log none

Description Orion Poplawski 2014-09-17 22:48:50 UTC
Created attachment 938676 [details]
anaconda.log

Description of problem:

kickstart install of F21 Server RC1 to an unpartitioned disk with partitioning commands:

clearpart --linux --drives=sda
part /boot --size=200 --ondisk=sda
part pv.1 --size 4800 --ondisk=sda --grow
volgroup vg_root pv.1
logvol / --vgname=vg_root --size=3500 --name=root
logvol swap --fstype=swap --vgname=vg_root --recommended --name=swap
logvol /var --vgname=vg_root --size=2000 --name=var
logvol /var/crash --vgname=vg_root --size=20000 --name=crash
zerombr
bootloader --location=mbr

Install does not proceed automatically, summary screen shows "No disks selected"

anaconda.log has:
22:03:55,706 DEBUG anaconda: new disk order: []
22:03:55,924 ERR anaconda: storage configuration failed: The following problem occurred on line 23 of the kickstart file:

Disk "sda" in part command is not partitioned.

Line 23 is "part /boot --size=200 --ondisk=sda"

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

Comment 1 Orion Poplawski 2014-09-17 22:49:13 UTC
Created attachment 938677 [details]
storage.log

Comment 2 Orion Poplawski 2014-09-17 22:49:39 UTC
Created attachment 938678 [details]
storage.state

Comment 3 Orion Poplawski 2014-09-17 22:49:59 UTC
Created attachment 938679 [details]
program.log

Comment 4 Orion Poplawski 2014-09-17 22:57:35 UTC
I seem unable to continue either through automatic of manual partitioning at this point.

Comment 5 David Lehman 2014-09-19 17:01:09 UTC
You need either zerombr or 'clearpart --initlabel' if you want disklabels put on empty disks.

Comment 6 David Lehman 2014-09-19 17:03:07 UTC
Sorry -- I initially missed your zerombr. I happen to have just written a patch for this.

Comment 7 Orion Poplawski 2014-10-01 20:17:26 UTC
This still seems to be present in 21 Beta TC1.

Comment 8 Orion Poplawski 2014-11-05 00:20:32 UTC
Looks like this is fixed in F21_TC1