Bug 224234 - SystemError: lvcreate failed for LogVol01
SystemError: lvcreate failed for LogVol01
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-24 13:44 EST by Orion Poplawski
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-22 11:31:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
anaconda dump (80.49 KB, text/plain)
2007-01-24 13:44 EST, Orion Poplawski
no flags Details

  None (edit)
Description Orion Poplawski 2007-01-24 13:44:49 EST
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
Comment 1 Orion Poplawski 2007-01-24 13:44:49 EST
Created attachment 146433 [details]
anaconda dump
Comment 2 Orion Poplawski 2007-02-12 12:51:25 EST
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
Comment 3 Orion Poplawski 2007-02-12 15:37:22 EST
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'
Comment 4 Orion Poplawski 2007-02-22 11:31:42 EST
Working in today's rawhide.

Note You need to log in before you can comment on or make changes to this bug.