Bug 1202521

Summary: Error: g-bd-utils-exec-error-quark: Process reported exit code 1280: Logical volume fedora/swap in use. Can't deactivate volume group "fedora" with 1 open logical volume(s) (0)
Product: [Fedora] Fedora Reporter: satellitgo
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: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, jreznik, satellitgo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:da38a7d267dc6b03ec07d84f4312746aadc504811fbab2d9b160c5e89e1c1b56
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-17 18:24:57 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 satellitgo 2015-03-16 19:43:03 UTC
Description of problem:
dd USB install attempt to a USB HD with existing RC-3 KDE install

Version-Release number of selected component:
anaconda-core-22.20.4-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.20.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices/lvm.py", line 203, in _teardown
    blockdev.lvm_vgdeactivate(self.name)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 470, in teardown
    self._teardown(recursive=recursive)
  File "/usr/lib/python2.7/site-packages/blivet/devices/device.py", line 211, in teardownParents
    parent.teardown(recursive=recursive)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 476, in _postTeardown
    self.teardownParents(recursive=recursive)
  File "/usr/lib/python2.7/site-packages/blivet/devices/lvm.py", line 643, in _postTeardown
    StorageDevice._postTeardown(self, recursive=recursive)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 471, in teardown
    self._postTeardown(recursive=recursive)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2215, in teardownAll
    device.teardown(recursive=True)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2186, in _populate
    self.teardownAll()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2111, in populate
    self._populate()
  File "/usr/lib/python2.7/site-packages/blivet/blivet.py", line 277, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python2.7/site-packages/blivet/osinstall.py", line 1116, in storageInitialize
    storage.reset()
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 238, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 112, in wait
    self.raise_if_error(name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/timezone.py", line 75, in time_initialize
    threadMgr.wait(THREAD_STORAGE)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 238, in run
    threading.Thread.run(self, *args, **kwargs)
Error: g-bd-utils-exec-error-quark: Process reported exit code 1280:   Logical volume fedora/swap in use.
  Can't deactivate volume group "fedora" with 1 open logical volume(s)
 (0)

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-22_B-T2 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
other involved packages: python-libs-2.7.9-5.fc22.x86_64, python-blivet-1.0.3-1.fc22.noarch
product:        Fedora"
release:        Fedora release 22 (Twenty Two)
type:           anaconda
version:        Fedora

Comment 1 satellitgo 2015-03-16 19:43:05 UTC
Created attachment 1002470 [details]
File: anaconda-tb

Comment 2 satellitgo 2015-03-16 19:43:06 UTC
Created attachment 1002471 [details]
File: anaconda.log

Comment 3 satellitgo 2015-03-16 19:43:07 UTC
Created attachment 1002472 [details]
File: environ

Comment 4 satellitgo 2015-03-16 19:43:08 UTC
Created attachment 1002473 [details]
File: journalctl

Comment 5 satellitgo 2015-03-16 19:43:09 UTC
Created attachment 1002474 [details]
File: lsblk_output

Comment 6 satellitgo 2015-03-16 19:43:09 UTC
Created attachment 1002475 [details]
File: nmcli_dev_list

Comment 7 satellitgo 2015-03-16 19:43:10 UTC
Created attachment 1002476 [details]
File: os_info

Comment 8 satellitgo 2015-03-16 19:43:11 UTC
Created attachment 1002477 [details]
File: program.log

Comment 9 satellitgo 2015-03-16 19:43:12 UTC
Created attachment 1002478 [details]
File: storage.log

Comment 10 satellitgo 2015-03-16 19:43:13 UTC
Created attachment 1002479 [details]
File: ifcfg.log

Comment 11 Jaroslav Reznik 2015-03-17 09:24:01 UTC
Another user experienced a similar problem:

Install default autopart Live KDE TC2 into virt machine, boot it, reboot and then just try to reinstall again with the same KDE TC2 from Live. Installer crashes in the Welcome Screen.

cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-22_B-T2 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
other involved packages: python-libs-2.7.9-5.fc22.x86_64, python-blivet-1.0.3-1.fc22.noarch
package:        anaconda-core-22.20.4-1.fc22.x86_64
packaging.log:  
product:        Fedora"
release:        Fedora release 22 (Twenty Two)
version:        Fedora

Comment 12 Jaroslav Reznik 2015-03-17 11:59:22 UTC
The same issue happens with Live GNOME TC2 image too.

Comment 13 satellitgo 2015-03-17 13:48:10 UTC
Another user experienced a similar problem:

booted USB of f22 branched MATE x86_64 install to USB Hd

cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-MATE-x86_64-22-20150 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
other involved packages: python-libs-2.7.9-5.fc22.x86_64, python-blivet-1.0.3-1.fc22.noarch
package:        anaconda-core-22.20.4-1.fc22.x86_64
packaging.log:  
product:        Fedora"
release:        Fedora release 22 (Twenty Two)
version:        Fedora

Comment 14 David Shea 2015-03-17 18:24:57 UTC

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