Description of problem: Today's rawhide: Traceback (most recent call first): File "/usr/lib/anaconda/fsset.py", line 2343, in setupDevice raise SystemError, "lvcreate failed for %s" %(self.name,) File "/usr/lib/anaconda/fsset.py", line 1641, in createLogicalVolumes entry.device.setupDevice(chroot, vgdevice = vg) File "/usr/lib/anaconda/packages.py", line 141, in turnOnFilesystems anaconda.id.fsset.createLogicalVolumes(anaconda.rootPath) File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext self.moveStep() File "/usr/lib/anaconda/text.py", line 541, in run anaconda.dispatch.gotoNext() File "/usr/bin/anaconda", line 958, in <module> anaconda.intf.run(anaconda) SystemError: lvcreate failed for LogVol01 Local variables in innermost frame: devPrefix: /tmp self: <fsset.LogicalVolumeDevice instance at 0x990beec> vgdevice: <fsset.VolumeGroupDevice instance at 0x990bdec> chroot: /mnt/sysimage rc: 3
Created attachment 146433 [details] anaconda dump
Okay, debugging a bit more, lvcreate is called with: lvm lvcreate -L self.size -n self.name -An self.vgname and self.size is -32, so this looks like a bug in anaconda. Kickstart is: bootloader --location=mbr --driveorder=sda clearpart --linux --drives=sda part /boot --fstype ext3 --size=50 part pv.1 --size 4800 --grow volgroup rootvg pv.1 logvol / --vgname=rootvg --size=512 --name=root logvol swap --fstype=swap --vgname=rootvg --recommended --name=swap logvol /usr --vgname=rootvg --size=4500 --name=usr logvol /var --vgname=rootvg --size=512 --name=var logvol /export/data1 --vgname=rootvg --size=1 --name=data1 --grow
Looks like we're ending up with two swap requests: , LV Request -- mountpoint: None uniqueID: 14 type: swap format: 1 badblocks: None size: -32 lvname: LogVol01 volgroup: 13 bytesPerInode: 4096 options: 'None' , LV Request -- mountpoint: uniqueID: 17 type: swap format: True badblocks: None size: 512 lvname: swap volgroup: 100001 bytesPerInode: 4096 options: 'None'
Working in today's rawhide.