Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1146186 - ValueError: specified lv is not part of this vg
Summary: ValueError: specified lv is not part of this vg
Keywords:
Status: CLOSED DUPLICATE of bug 1121383
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b8bc97f94b7c1fad664aa2b85e0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-24 17:38 UTC by Adam Williamson
Modified: 2014-09-24 17:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-24 17:46:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: anaconda.log (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: environ (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: lsblk_output (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: nmcli_dev_list (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: os_info (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: program.log (deleted)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: storage.log (deleted)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details
File: syslog (deleted)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details
File: ifcfg.log (deleted)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details
File: packaging.log (deleted)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details

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 ***


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