Bug 488861 - [StorageRewrite] LVMError: pvremove failed for /dev/sda1 - custom partitioning with 1 local and 1 iSCSI disk fails
Summary: [StorageRewrite] LVMError: pvremove failed for /dev/sda1 - custom partitionin...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joel Andres Granados
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: StorageRewrite anaconda_trace_hash:55...
: 491124 491290 (view as bug list)
Depends On:
Blocks: F11Beta, F11BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-03-05 23:54 UTC by James Laska
Modified: 2013-09-02 06:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-23 16:25:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (227.08 KB, text/plain)
2009-03-05 23:55 UTC, James Laska
no flags Details

Description James Laska 2009-03-05 23:54:56 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.24 exception report
Traceback (most recent call first):
  File "/tmp/updates/storage/devicelibs/lvm.py", line 138, in pvremove
    raise LVMError("pvremove failed for %s" % device)
  File "/tmp/updates/storage/formats/lvmpv.py", line 109, in destroy
    lvm.pvremove(self.device)
  File "/tmp/updates/storage/devices.py", line 1004, in destroy
    self.format.destroy()
  File "/tmp/updates/storage/deviceaction.py", line 216, in execute
    self.device.destroy()
  File "/tmp/updates/storage/devicetree.py", line 427, in processActions
    action.execute(intf=self.intf)
  File "/tmp/updates/storage/__init__.py", line 181, in doIt
    self.devicetree.processActions()
  File "/tmp/updates/packages.py", line 114, in turnOnFilesystems
    anaconda.id.storage.doIt()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
LVMError: pvremove failed for /dev/sda1

Comment 1 James Laska 2009-03-05 23:55:00 UTC
Created attachment 334241 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-03-05 23:57:49 UTC
Test Case:

= Disk configuration =

1 local virtual disk (/dev/vda)
1 remote iSCSI disk (/dev/sda)

= Partitioning attempted =

/dev/vda1  /boot
/dev/vda2  swap
/dev/vda3  /

/dev/sda1  /opt

Comment 3 Chris Lumens 2009-03-09 20:03:15 UTC
I wonder if Joel's patch to add -ff -y to the pvremove arguments will fix this up.

Comment 4 David Lehman 2009-03-09 22:00:45 UTC
Yes -- it looks like the same problem.

Comment 5 James Laska 2009-03-19 20:37:52 UTC
Dup of bug#491124 ?

Comment 6 Joel Andres Granados 2009-03-20 10:43:11 UTC
*** Bug 491124 has been marked as a duplicate of this bug. ***

Comment 7 Joel Andres Granados 2009-03-20 10:44:57 UTC
I commited my "check for lvm crappyness" yesterday.  With that patch I stopped seeing this type of behavior.   Pls retest and see if it solves your issue.  If not we might have to add the "-ff -y" thingy

Comment 8 James Laska 2009-03-20 13:17:30 UTC
The F11Beta blocking bug got dup'd to this, adding this to F11Beta

Comment 9 Chris Lumens 2009-03-20 13:59:58 UTC
*** Bug 491290 has been marked as a duplicate of this bug. ***

Comment 10 A.J. Werkman 2009-03-20 19:31:34 UTC
I can still reproduce this bug in anaconda 11.5.0.34

Comment 11 David Lehman 2009-03-20 19:36:19 UTC
Can you provide the traceback?

Comment 12 A.J. Werkman 2009-03-22 10:26:09 UTC
Anaconda 11.5.0.35 traceback is in bug #491505

Comment 13 Joel Andres Granados 2009-03-23 18:51:14 UTC
The traceback in bug #491505  is different from the one stated here.  Can you reproduce the traceback stated in this bug?
"
LVMError: pvremove failed for /dev/sda1 
"

Comment 14 James Laska 2009-03-24 14:35:36 UTC
Retesting of this issue is blocked by bug#491887

Comment 15 Adam Williamson 2009-04-22 16:49:55 UTC
That bug's closed now, James, and this is on the preview blocker list: can you re-test now?

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 16 James Laska 2009-04-23 16:25:24 UTC
Confirmed fix in anaconda-11.5.0.47


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