Bug 1146186

Summary: ValueError: specified lv is not part of this vg
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b8bc97f94b7c1fad664aa2b85e0ffc5c8752f9c8ab0bec7c0d90f2de98fc50d6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 17:46:55 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
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Adam Williamson 2014-09-24 17:38:51 UTC
Description of problem:
I was trying to reproduce another bug, but let's see. On 21 Alpha:

Boot with installed F21 (with a tiny /boot)
Go to custom part, all defaults so far
Remove the existing F21 install, create a new layout with the 'automatic' button, then set the / mount point (*not* the VG) to be encrypted
Complete custom part, enter a passphrase
Go back to Installation Destination, this type check the box on ID that says you want encryption
Pick custom part again
Try to remove the existing installation again

Version-Release number of selected component:
anaconda-21.48.6-1

The following was filed automatically by anaconda:
anaconda 21.48.6-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2584, in _removeLogVol
    raise ValueError("specified lv is not part of this vg")
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 450, in _removeDevice
    dev.vg._removeLogVol(dev)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 496, in registerAction
    self._removeDevice(action.device)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1296, in destroyDevice
    self.devicetree.registerAction(action)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1703, in _destroy_device
    self._storage_playground.destroyDevice(device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 122, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1826, in on_remove_clicked
    self._destroy_device(dev)
ValueError: specified lv is not part of this vg

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-21_A-x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.1-301.fc21.x86_64
product:        Fedora-Server
release:        Cannot get release name.
type:           anaconda
version:        21_Alpha

Comment 1 Adam Williamson 2014-09-24 17:38:53 UTC
Created attachment 940837 [details]
File: anaconda-tb

Comment 2 Adam Williamson 2014-09-24 17:38:55 UTC
Created attachment 940838 [details]
File: anaconda.log

Comment 3 Adam Williamson 2014-09-24 17:38:56 UTC
Created attachment 940839 [details]
File: environ

Comment 4 Adam Williamson 2014-09-24 17:38:56 UTC
Created attachment 940840 [details]
File: lsblk_output

Comment 5 Adam Williamson 2014-09-24 17:38:57 UTC
Created attachment 940841 [details]
File: nmcli_dev_list

Comment 6 Adam Williamson 2014-09-24 17:38:58 UTC
Created attachment 940842 [details]
File: os_info

Comment 7 Adam Williamson 2014-09-24 17:38:59 UTC
Created attachment 940843 [details]
File: program.log

Comment 8 Adam Williamson 2014-09-24 17:39:01 UTC
Created attachment 940844 [details]
File: storage.log

Comment 9 Adam Williamson 2014-09-24 17:39:02 UTC
Created attachment 940845 [details]
File: syslog

Comment 10 Adam Williamson 2014-09-24 17:39:03 UTC
Created attachment 940846 [details]
File: ifcfg.log

Comment 11 Adam Williamson 2014-09-24 17:39:05 UTC
Created attachment 940847 [details]
File: packaging.log

Comment 12 Adam Williamson 2014-09-24 17:46:55 UTC

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