The following was filed automatically by anaconda: anaconda 14.11 exception report Traceback (most recent call first): File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/devicelibs/lvm.py", line 368, in lvcreate raise LVMError("lvcreate failed for %s/%s: %s" % (vg_name, lv_name, msg)) File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/devices.py", line 2391, in create lvm.lvcreate(self.vg.name, self._name, self.size, progress=w) File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/deviceaction.py", line 204, in execute self.device.create(intf=intf) File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/devicetree.py", line 700, in processActions action.execute(intf=self.intf) File "/usr/lib64/python2.6/site-packages/pyanaconda/storage/__init__.py", line 309, in doIt self.devicetree.processActions() File "/usr/lib64/python2.6/site-packages/pyanaconda/packages.py", line 109, in turnOnFilesystems anaconda.storage.doIt() File "/usr/lib64/python2.6/site-packages/pyanaconda/dispatch.py", line 209, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib64/python2.6/site-packages/pyanaconda/dispatch.py", line 128, in gotoNext self.moveStep() File "/usr/lib64/python2.6/site-packages/pyanaconda/text.py", line 549, in run anaconda.dispatch.gotoNext() File "/usr/bin/anaconda", line 896, in <module> anaconda.intf.run(anaconda) LVMError: lvcreate failed for vg_devel4/lv_swap: Unable to create new logical volume with no extents
Created attachment 434973 [details] Attached traceback automatically from anaconda.
Created attachment 434976 [details] Don't try to create a logical partition with size 0 I'm not sure about growable partitions, are they allowed to have an minimum size of 0 ? If so, this patch needs some more work
I ran into this error with a kickstart like: logvol /home --fstype ext3 --name=home --vgname=vg01 [snip] --size 1 --grow --maxsize 5120 I suspect the 'size 1' is below the extent size (32 for me), and is thus rounded down (can we round it up? two birds, one stone) and the resulting parameter passed into the lvcreate is 0. In my case, after seeing this error, I bumped the size of the VMDK and restarted my kickstart. Same issue with 30Gb free, so I'm sure it had enough space to allocate. After adjusting my --size to 32 (mb) initially, the error went away. If I have time later, I'll grovel the code to be sure -- this is just a guess, right now, based on the behaviour, but I'd bet a latte on it.
Created attachment 489797 [details] anaconda 15.25 exception report Reproducible with anaconda 15.25. When user selects autopartitioning, anaconda creates swap with size 0 MB: vg_rtt6 37440 lv_root 36928 / ext4 lv_swap 0 swap lv_boot 500 /boot ext4 Free 12 There is a traceback when writing changes to disks.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
dcantrell marked this as POST on 2011-04-19. The patch was https://www.redhat.com/archives/anaconda-devel-list/2011-April/msg00230.html . So far as I can tell it was never reviewed and pushed. However, the relevant file - pyanaconda/iutil.py - is rather different now, and the 'minswap' stuff no longer exists in anaconda or blivet git that I can see. So I'm pretty sure this bug report is now irrelevant. Karsten, Bishop - if you guys still find this use case relevant, please test it with F18 or an F19 build and file a new bug if it's broken in some other way, but this bug report is just obsolete now, the relevant code no longer exists.