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 (520.89 KB, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: anaconda.log (32.67 KB, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: environ (459 bytes, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: lsblk_output (1.72 KB, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: nmcli_dev_list (1.61 KB, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: os_info (377 bytes, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: program.log (30.40 KB, text/plain)
2014-09-24 17:38 UTC, Adam Williamson
no flags Details
File: storage.log (262.18 KB, text/plain)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details
File: syslog (65.33 KB, text/plain)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details
File: ifcfg.log (1.91 KB, text/plain)
2014-09-24 17:39 UTC, Adam Williamson
no flags Details
File: packaging.log (43.27 KB, text/plain)
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.