Bug 1058880

Summary: kickstart partitioning with swap --recommended fails
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: python-blivetAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: amulhern, anaconda-maint-list, bcl, dlehman, orion
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-02 16:30:00 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:
Attachments:
Description Flags
storage.log
none
anaconda.log
none
storage.log
none
anaconda.log none

Description Orion Poplawski 2014-01-28 16:59:37 UTC
Created attachment 856704 [details]
storage.log

Description of problem:

Trying to re-install rawhide on a VM with:

clearpart --all --initlabel
part / --size=3000 --grow
part swap --recommended
zerombr
bootloader --location=mbr

But it fails to configure the disk.  On the main screen I see:

storage configuration failed: The following problem occurred on line 22 of the kickstart file:

The size None is not valid.

Line 22 in the part swap line.  Looks like swap size is getting set to zero:

16:55:42,335 INFO blivet: Detected 2.00 GiB of memory
16:55:42,404 INFO blivet: Suggested swap size (2.00 GiB) exceeds 10 % of disk space, using 10 % of disk space (0.0) instead.
16:55:42,405 INFO blivet: Swap attempt of 0.0

at the very start.

Comment 1 David Lehman 2014-01-28 17:14:26 UTC
Please attach /tmp/anaconda.log and /tmp/anaconda-tb-* to this bug report. Thanks.

Comment 2 Orion Poplawski 2014-01-28 17:36:56 UTC
Created attachment 856720 [details]
anaconda.log

No anaconda-tb-* files.

Partitioning succeeds if I drop --recommended and set a --size.

Comment 3 Orion Poplawski 2014-10-01 20:06:46 UTC
Still seeing similar with 21 Beta TC1:

Logical volume size "188.05 KiB" must be larger than the volume group extend size of "4096 KiB".

Comment 4 Orion Poplawski 2014-10-01 20:07:15 UTC
Created attachment 943198 [details]
storage.log

Comment 5 Orion Poplawski 2014-10-01 20:07:53 UTC
Created attachment 943199 [details]
anaconda.log

Comment 6 Vratislav Podzimek 2014-10-02 12:39:48 UTC
Can you please attach the kickstart file you are using? I've just tried the following simple one on rawhide anaconda+python-blivet:

timezone Europe/Prague
keyboard us
lang en_US.UTF-8
rootpw --plaintext aaaaa
url --url=http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/
network --bootproto=dhcp

zerombr
clearpart --all
part / --size=1000 --grow
part /boot --size=512
part swap --recommended

%packages
@^gnome-desktop-environment
%end

and it works just fine with no issues.

Comment 7 Orion Poplawski 2014-10-02 16:30:00 UTC
Ah, yeah, this is a little different - using lvm this time. This original issue appears to be fixed so I'll close this and file a new bug.