Bug 698701 - LVMError: vgremove failed for vg_bigboy: Can't remove open logical volume "lv_swap"
Summary: LVMError: vgremove failed for vg_bigboy: Can't remove open logical volume "...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:c62fa7af9adddc062...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-21 14:43 UTC by geminic86
Modified: 2012-08-07 19:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 19:49:56 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (341.69 KB, text/plain)
2011-04-21 14:43 UTC, geminic86
no flags Details
Attached traceback automatically from anaconda. (362.53 KB, text/plain)
2011-06-20 16:47 UTC, Paul Allsopp
no flags Details
Attached traceback automatically from anaconda. (502.93 KB, text/plain)
2011-09-08 15:16 UTC, Ivor Durham
no flags Details

Description geminic86 2011-04-21 14:43:53 UTC
The following was filed automatically by anaconda:
anaconda 15.27 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/lvm.py", line 246, in vgremove
    raise LVMError("vgremove failed for %s: %s" % (vg_name, msg))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2110, in _destroy
    lvm.vgremove(self.name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 783, in destroy
    self._destroy()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1600, in reinitializeVG
    vg.destroy()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1630, in leafInconsistencies
    reinitializeVG(device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1648, in _handleInconsistencies
    leafInconsistencies(leaf)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1860, in _populate
    self._handleInconsistencies()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1755, in populate
    self._populate()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 435, in reset
    self.devicetree.populate()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 103, in storageInitialize
    storage.reset()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1346, in setScreen
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1258, in nextClicked
    self.setScreen ()
LVMError: vgremove failed for vg_bigboy:   Can't remove open logical volume "lv_swap"

Comment 1 geminic86 2011-04-21 14:43:58 UTC
Created attachment 493877 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2011-04-21 17:30:13 UTC
How did you start the installer?

Comment 3 David Lehman 2011-04-21 17:43:17 UTC
Please post the output of the following commands:

  pvs

  dmsetup ls --tree

Thanks.

Comment 4 Paul Allsopp 2011-06-20 16:47:09 UTC
Created attachment 505660 [details]
Attached traceback automatically from anaconda.

Comment 5 Paul Allsopp 2011-06-20 16:51:02 UTC
(In reply to comment #2)
> How did you start the installer?

Hey David, I started my installer from the live cd, install to hard drive option.

Comment 6 Paul Allsopp 2011-06-20 16:54:01 UTC
(In reply to comment #3)
> Please post the output of the following commands:
> 
>   pvs
> 
>   dmsetup ls --tree
> 
> Thanks.

[root@localhost liveuser]# pvs
  PV         VG           Fmt  Attr PSize  PFree 
  /dev/sda1  vg_devserver lvm2 a-   74.50g 51.44g
[root@localhost liveuser]# dmsetup ls --tree
vg_devserver-lv_home (253:3)
 └─ (8:1)
live-osimg-min (253:1)
 ├─ (7:1)
 └─ (7:3)
live-rw (253:0)
 ├─ (7:4)
 └─ (7:3)

I will run a SysRescueCd on the drive and see if it is a direct read access issue or if the issue is really an Anaconda bug.

Feel free to email me if you want more details and I will post them here.

Thanks.

Comment 7 David Lehman 2011-06-20 17:46:01 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > Please post the output of the following commands:
> > 
> >   pvs
> > 
> >   dmsetup ls --tree
> > 
> > Thanks.
> 
> [root@localhost liveuser]# pvs
>   PV         VG           Fmt  Attr PSize  PFree 
>   /dev/sda1  vg_devserver lvm2 a-   74.50g 51.44g
> [root@localhost liveuser]# dmsetup ls --tree
> vg_devserver-lv_home (253:3)
>  └─ (8:1)

There's your problem. Something has your lv_home active and possibly mounted. You can't have filesystems on the disks you want to install to mounted on the system when you start the installer.

Comment 8 Paul Allsopp 2011-06-20 21:15:44 UTC
(In reply to comment #7)

> There's your problem. Something has your lv_home active and possibly mounted.
> You can't have filesystems on the disks you want to install to mounted on the
> system when you start the installer.

Thanks David, I wiped the drive and the installation went smoothly.

Comment 9 Ivor Durham 2011-09-08 15:16:07 UTC
Created attachment 522144 [details]
Attached traceback automatically from anaconda.

Comment 10 Fedora End Of Life 2012-08-07 19:49:58 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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