Bug 1037710

Summary: LVMError: vgdeactivate failed for fedora_office17: running lvm vgchange -a n fedora_office17 failed
Product: [Fedora] Fedora Reporter: Martin Kolman <mkolman>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, atorkhov, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:572d189bd40134d955dc2fe1852ca15852ceaa88766b3b8426bc4a64e0ba14d5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-14 19:05:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
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 Martin Kolman 2013-12-03 16:06:48 UTC
Description of problem:
1) created a LVM over 4 8GB virtio disks with RAID10 to be mounted on / (all in Anaconda)
2) finsihed installation successfully
3) started installation again, selected all 4 disks
4) selected reclaim and delete all
5) got this error

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

The following was filed automatically by anaconda:
anaconda 20.25.10-1 exception report
Traceback (most recent call first):
  File "/tmp/updates/blivet/devicelibs/lvm.py", line 321, in vgdeactivate
    raise LVMError("vgdeactivate failed for %s: %s" % (vg_name, msg))
  File "/tmp/updates/blivet/devices.py", line 2262, in _teardown
    lvm.vgdeactivate(self.name)
  File "/tmp/updates/blivet/devices.py", line 759, in teardown
    self._teardown(recursive=recursive)
  File "/tmp/updates/blivet/deviceaction.py", line 317, in __init__
    device.teardown()
  File "/tmp/updates/blivet/__init__.py", line 1220, in destroyDevice
    action = ActionDestroyDevice(device)
  File "/tmp/updates/blivet/__init__.py", line 759, in recursiveRemove
    self.destroyDevice(leaf)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/lib/resize.py", line 396, in _scheduleActions
    self.storage.recursiveRemove(device)
LVMError: vgdeactivate failed for fedora_office17: running lvm vgchange -a n fedora_office17 failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/test/mk/fedora/initrd.img root=live:http://cobra02/trees/mk/my_comps_squashfs.img nokill updates=http://cobra02/ks/mk/master_updates.img resolution=1024x768 BOOT_IMAGE=/test/mk/fedora/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.9-300.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20

Comment 1 Martin Kolman 2013-12-03 16:06:54 UTC
Created attachment 832190 [details]
File: anaconda-tb

Comment 2 Martin Kolman 2013-12-03 16:06:58 UTC
Created attachment 832191 [details]
File: anaconda.log

Comment 3 Martin Kolman 2013-12-03 16:07:02 UTC
Created attachment 832192 [details]
File: environ

Comment 4 Martin Kolman 2013-12-03 16:07:05 UTC
Created attachment 832193 [details]
File: lsblk_output

Comment 5 Martin Kolman 2013-12-03 16:07:09 UTC
Created attachment 832194 [details]
File: nmcli_dev_list

Comment 6 Martin Kolman 2013-12-03 16:07:13 UTC
Created attachment 832195 [details]
File: os_info

Comment 7 Martin Kolman 2013-12-03 16:07:17 UTC
Created attachment 832196 [details]
File: program.log

Comment 8 Martin Kolman 2013-12-03 16:07:21 UTC
Created attachment 832197 [details]
File: storage.log

Comment 9 Martin Kolman 2013-12-03 16:07:25 UTC
Created attachment 832198 [details]
File: syslog

Comment 10 Martin Kolman 2013-12-03 16:07:30 UTC
Created attachment 832199 [details]
File: ifcfg.log

Comment 11 Martin Kolman 2013-12-03 16:07:34 UTC
Created attachment 832200 [details]
File: packaging.log

Comment 12 Alexey Torkhov 2013-12-10 19:27:48 UTC
Didn't get failure as described in comment 0 with F20 Final TC5. Anaconda version: anaconda-20.25.14-1.fc20.x86_64

Comment 13 David Shea 2015-04-14 19:05:24 UTC
Just tried this with F22, and based on that not crashing and comment 12 I guess this got fixed at some point.