Bug 562335

Summary: LVMError: lvdeactivate failed for lv_swap:
Product: [Fedora] Fedora Reporter: Ray Evans <jaguar07>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jonathan, twaugh, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:f3cb2fd67d844a7007f75ba02c4477f22dae920c26b6616bb7f8633a7bd660fd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-09 23:29:26 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
Attached traceback automatically from anaconda.
none
storage log
none
storage state
none
anaconda log none

Description Ray Evans 2010-02-06 01:17:15 UTC
The following was filed automatically by anaconda:
anaconda 13.25 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devicelibs/lvm.py", line 418, in lvdeactivate
    raise LVMError("lvdeactivate failed for %s: %s" % (lv_name, msg))
  File "/usr/lib/anaconda/storage/devices.py", line 2260, in teardown
    lvm.lvdeactivate(self.vg.name, self._name)
  File "/usr/lib/anaconda/storage/__init__.py", line 2007, in umountFilesystems
    device.teardown()
  File "/usr/lib/anaconda/storage/__init__.py", line 1138, in umountFilesystems
    self.fsset.umountFilesystems(ignoreErrors=ignoreErrors, swapoff=swapoff)
  File "/usr/lib/anaconda/livecd.py", line 174, in doPreInstall
    anaconda.id.storage.umountFilesystems(swapoff = False)
  File "/usr/lib/anaconda/backend.py", line 296, in doPreInstall
    anaconda.backend.doPreInstall(anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1308, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1329, in handleRenderCallback
    self.currentWindow.renderCallback()
LVMError: lvdeactivate failed for lv_swap:

Comment 1 Ray Evans 2010-02-06 01:17:20 UTC
Created attachment 389225 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2010-02-11 19:44:40 UTC
Is this failure repeatable?

Comment 3 Ray Evans 2010-02-12 03:32:35 UTC
If you select custom partition layout or you select use free space, this is 100% reproducible.   It seems any option that deletes an existing partition or creates a new partition causes it.  If you merely format or reformat an existing partition, then the error does not occur.  I typically have to boot a LiveCD and use gparted to create partitions to work around this issue.

Comment 4 David Lehman 2010-02-12 16:51:46 UTC
You have three different crashes in your logs. Quite a mess.

Please collect /tmp/storage.state, along with a matching crash dump, and attach both to this report so I can try to sort this out.

Comment 5 Ray Evans 2010-02-14 12:05:32 UTC
Unfortunately, those crashes left the system in an inoperable state.  I have reformatted and re-installed since them.  Next install I will make an attempt.

Comment 6 Ray Evans 2010-02-15 02:32:30 UTC
Created attachment 394248 [details]
storage log

Comment 7 Ray Evans 2010-02-15 02:33:17 UTC
Created attachment 394249 [details]
storage state

Comment 8 Ray Evans 2010-02-15 02:35:11 UTC
Created attachment 394250 [details]
anaconda log

Comment 9 Tim Waugh 2010-02-19 17:37:48 UTC
I'm seeing the same thing:

1. Install a Fedora 12 virtual machine with the default settings
2. Clone this Fedora 12 virtual machine
3. On the clone, boot desktop-x86_64-20100218.16.iso and install

Comment 10 David Lehman 2010-03-02 00:08:41 UTC
This is almost certainly a dupe of bug 567840. Can someone see if a livecd with anaconda-13.32-1.fc13 or later still has this problem?

Comment 11 David Lehman 2010-03-09 23:29:26 UTC

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