Bug 1105847

Summary: LVMError: lvdeactivate failed for root: running lvm lvchange -a n fedora/root failed
Product: [Fedora] Fedora Reporter: iliketurtlesbro
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1680348794faf96d8276ae2f190f5bce6479c9881aab4a8fd87b6832ce83f81c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 23:59:44 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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description iliketurtlesbro 2014-06-08 07:50:39 UTC
Version-Release number of selected component:
anaconda-20.25.15-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 447, in lvdeactivate
    raise LVMError("lvdeactivate failed for %s: %s" % (lv_name, msg))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2688, in _teardown
    lvm.lvdeactivate(self.vg.name, self._name)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 759, in teardown
    self._teardown(recursive=recursive)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 317, in __init__
    device.teardown()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1220, in destroyDevice
    action = ActionDestroyDevice(device)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 759, in recursiveRemove
    self.destroyDevice(leaf)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 397, in _scheduleActions
    self.storage.recursiveRemove(device)
LVMError: lvdeactivate failed for root: running lvm lvchange -a n fedora/root failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Desktop-x86_64-20-1 ro rd.live.image quiet rhgb rd.live.check
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
other involved packages: python-blivet-0.23.9-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 iliketurtlesbro 2014-06-08 07:50:43 UTC
Created attachment 903222 [details]
File: anaconda-tb

Comment 2 iliketurtlesbro 2014-06-08 07:50:45 UTC
Created attachment 903223 [details]
File: anaconda.log

Comment 3 iliketurtlesbro 2014-06-08 07:50:46 UTC
Created attachment 903224 [details]
File: environ

Comment 4 iliketurtlesbro 2014-06-08 07:50:48 UTC
Created attachment 903225 [details]
File: journalctl

Comment 5 iliketurtlesbro 2014-06-08 07:50:49 UTC
Created attachment 903226 [details]
File: lsblk_output

Comment 6 iliketurtlesbro 2014-06-08 07:50:50 UTC
Created attachment 903227 [details]
File: nmcli_dev_list

Comment 7 iliketurtlesbro 2014-06-08 07:50:50 UTC
Created attachment 903228 [details]
File: os_info

Comment 8 iliketurtlesbro 2014-06-08 07:50:52 UTC
Created attachment 903229 [details]
File: program.log

Comment 9 iliketurtlesbro 2014-06-08 07:50:54 UTC
Created attachment 903230 [details]
File: storage.log

Comment 10 iliketurtlesbro 2014-06-08 07:50:55 UTC
Created attachment 903231 [details]
File: ifcfg.log

Comment 11 Brian Lane 2014-06-13 23:59:44 UTC
It looks like you ran liveinst a 2nd time after doing an installation. anaconda-cleanup (which runs from liveinst) should have cleaned it up, but it didn't -- maybe because something else was using the new filesystem.