Bug 490685

Summary: Installing with iSCSI volume fails to remove existing iSCSI LVM data (LVMError: vgremove failed for VolGroup00)
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Joel Andres Granados <jgranado>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, jgranado, jturner, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:20005b9aef417f7977feeb0b5bcf9e1b18d45409f1123d114e3e25a8869e61de
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-27 19:18:12 UTC Type: ---
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
Attached traceback automatically from anaconda. none

Description James Laska 2009-03-17 16:28:14 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.31 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devicelibs/lvm.py", line 259, in vgremove
    raise LVMError("vgremove failed for %s" % vg_name)
  File "/usr/lib/anaconda/storage/devices.py", line 1695, in destroy
    lvm.vgremove(self.name)
  File "/usr/lib/anaconda/storage/deviceaction.py", line 221, in execute
    self.device.destroy()
  File "/usr/lib/anaconda/storage/devicetree.py", line 629, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/anaconda/storage/__init__.py", line 184, in doIt
    self.devicetree.processActions()
  File "/usr/lib/anaconda/packages.py", line 115, in turnOnFilesystems
    anaconda.id.storage.doIt()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
LVMError: vgremove failed for VolGroup00

Comment 1 James Laska 2009-03-17 16:28:18 UTC
Created attachment 335549 [details]
Attached traceback automatically from anaconda.

Comment 2 Chris Lumens 2009-03-26 19:38:34 UTC
Are you still seeing this with rawhide?  These sorts of bugs sure do come and go an awful lot.

Comment 3 Joel Andres Granados 2009-04-17 14:08:03 UTC
This issue was taken care of with the addition of inconsistency checking.  please change to assigned if you see this one again.dm', 'settle', '--timeout=10']
Running... ['lvm', 'vgremove', 'VolGroup00']
  Couldn't find device with uuid 'ph6tN0-DZGK-QrIE-ElGa-lC2g-zY9M-wCUTf4'.
  Volume group "VolGroup00" not found, is inconsistent or has PVs missing.
  Consider vgreduce --removemissing if metadata is inconsistent.

Comment 4 James Laska 2009-04-27 19:18:12 UTC
Tested and confirmed fix in anaconda-11.5.0.47