Bug 489511

Summary: anaconda crashed when trying to edit VolGroup00
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dlehman, pjones, rmaximo, vanmeeuwen+fedora
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: 2009-03-10 15:19:53 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
tar of anaconda logs none

Description Jeff Bastian 2009-03-10 14:52:58 UTC
Description of problem:
I was trying to install today's (2009-03-10) rawhide and anaconda crashed when I selected VolGroup00 and clicked Edit.

09:39:58 CRITICAL: anaconda 11.5.0.25 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 1507, in _addPV
    raise ValueError("pv is already part of this vg")
  File "/usr/lib/anaconda/iw/lvm_dialog_gui.py", line 343, in createAllowedLvmPa
rtitionsList
    self.vg._addPV(device)
  File "/usr/lib/anaconda/iw/lvm_dialog_gui.py", line 997, in __init__
    (self.lvmlist, sw) = self.createAllowedLvmPartitionsList(self.availlvmparts,
 self.storage.vgs)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1129, in editLVMVolumeGroup
    isNew)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1054, in editCB
    self.editLVMVolumeGroup(device)
ValueError: pv is already part of this vg


Version-Release number of selected component (if applicable):
anaconda-11.5.0.25

How reproducible:
every time

Steps to Reproduce:
1. boot from 2009-03-10 rawhide boot.iso
2. enter LUKS passphrase to open /dev/sda2  (Linux LVM)
3. choose custom disk layout
4. select VolGroup00 and click Edit
  
Actual results:
crash

Expected results:
no crash

Additional info:
I'm trying to install rawhide parallel with Fedora 10 on spare space in VolGroup00.

Comment 1 Jeff Bastian 2009-03-10 14:55:34 UTC
BTW, I tried to use the automatic upload to BZ from anaconda, but after I entered my BZ name and password and a description and hit OK, it didn't do anything.  The network was up since I was installing from http.

Comment 2 Jeff Bastian 2009-03-10 14:56:45 UTC
Created attachment 334666 [details]
tar of anaconda logs

Comment 3 David Lehman 2009-03-10 15:19:53 UTC
FWIW, if you've had a traceback you can just grab /tmp/anacdump.txt and attach it next time. Also, you can generate an anacdump.txt at any time by sending SIGUSR2 to anaconda.

*** This bug has been marked as a duplicate of bug 489022 ***