Bug 511907

Summary: parted.Disk.duplicate exception in storage scan
Product: [Fedora] Fedora Reporter: David Lehman <dlehman>
Component: anacondaAssignee: Joel Andres Granados <jgranado>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: rawhideCC: ackistler, aj.werkman, awilliam, clydekunkel7734, cpanceac, jlaska, norrist, rmaximo, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:d085189eb8b3b3a7af06284708d5e699e02d34f345cf7410f88732fa54e880b1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-03 20:02:59 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:
Bug Depends On:    
Bug Blocks: 507676    
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description David Lehman 2009-07-15 15:22:24 UTC
The following was filed automatically by anaconda:
anaconda 12.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.6/site-packages/parted/disk.py", line 142, in duplicate
    return Disk(PedDisk=self.__disk.duplicate())
  File "/tmp/updates/storage/devices.py", line 744, in __init__
    self._origPartedDisk = self.partedDisk.duplicate()
  File "/tmp/updates/storage/devicetree.py", line 1188, in addUdevDiskDevice
    initcb=cb, initlabel=initlabel, **kwargs)
  File "/tmp/updates/storage/devicetree.py", line 1278, in addUdevDevice
    device = self.addUdevDiskDevice(info)
  File "/tmp/updates/storage/devicetree.py", line 1792, in populate
    self.addUdevDevice(dev)
  File "/tmp/updates/storage/__init__.py", line 291, in reset
    self.devicetree.populate()
  File "/tmp/updates/storage/__init__.py", line 92, in storageInitialize
    storage.reset()
  File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1346, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1476, in keyRelease
    self.nextClicked()
PartedException: Assertion (!disk->update_mode) at disk.c:425 in function ped_disk_destroy() failed.

Comment 1 David Lehman 2009-07-15 15:22:32 UTC
Created attachment 353841 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2009-07-15 15:26:37 UTC
This seems to happen during scanning of systems whose partitions were created using the F11 installer. My recollection is that it does not occur with partitions created using the rawhide installer.

This system has four primary partitions on sda, none on sdb.

Comment 3 Chris Lumens 2009-07-17 19:36:41 UTC
Joel - this seems related to the new parted release.  Any ideas?

Comment 4 Joel Andres Granados 2009-07-22 09:03:10 UTC
This is fixed in the new parted version. parted-1.9.0-4.20090721git980c

Comment 5 James Laska 2009-07-24 22:59:37 UTC
Rawhide still contains parted-1.9.0-3.20090610git32dc.fc12.  I'm going to move this into MODIFIED and leave on the F12Alpha list so we don't lose this bug.

Comment 6 James Laska 2009-07-24 23:00:10 UTC
*** Bug 513725 has been marked as a duplicate of this bug. ***

Comment 7 Andy Lindeberg 2009-07-27 14:18:41 UTC
*** Bug 513746 has been marked as a duplicate of this bug. ***

Comment 8 Allen Kistler 2009-07-28 08:15:52 UTC
Rawhide has parted-1.9.0-6.fc12, but I just got the bug in its Bug 513725 form with boot.iso dated 28-July-2009 00:53.

Comment 9 Clyde E. Kunkel 2009-07-28 14:23:01 UTC
I got this error with rawhide 20090728 which has parted-1.9.0-8.fc12

Comment 10 Andy Lindeberg 2009-07-28 17:11:16 UTC
*** Bug 510966 has been marked as a duplicate of this bug. ***

Comment 11 Andy Lindeberg 2009-07-28 17:11:20 UTC
*** Bug 514284 has been marked as a duplicate of this bug. ***

Comment 12 Andy Lindeberg 2009-07-28 17:12:09 UTC
Bug not fixed; moving out of MODIFIED.

Comment 13 James Laska 2009-07-28 17:20:53 UTC
+1 ... also seeing on rawhide-20090728

Comment 14 James Laska 2009-07-28 20:45:04 UTC
This appears to be a test blocker for the upcoming Alpha test compose for QA.

I've adjusted the severity to high based on the impact defined in http://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow#Severity.

Comment 15 Joel Andres Granados 2009-07-29 08:05:39 UTC
I just patched parted and built parted-1_9_0-9_fc12.  This should address the issue.

Comment 16 cornel panceac 2009-07-29 08:13:48 UTC
thank you. could we expect that tomorrow's boot.iso will include it? because i feel frustrated being unable to install rawhide :)

Comment 17 Joel Andres Granados 2009-07-29 09:54:13 UTC
Cornel:
Yes. this should go into the next rawhide compose.  If you can't wait I suggest you put the new libparted in the current boot.iso.  You can find the new libparted in the rpm package,  and you can find that at http://koji.fedoraproject.org/koji/buildinfo?buildID=124489

Comment 18 cornel panceac 2009-07-29 10:04:19 UTC
ok, thank you very much!

Comment 19 Clyde E. Kunkel 2009-08-01 18:44:46 UTC
apparently fixed in 12.7, but bz 499854 has crept in preventing conclusive verification of fix.

Comment 20 Allen Kistler 2009-08-01 21:44:32 UTC
(In reply to comment #19)
> apparently fixed in 12.7, but bz 499854 has crept in preventing conclusive
> verification of fix.  

Agreed.  Fixed with boot.iso of 01-Aug-2009, but now I'm hitting Bug 513104.

Comment 21 James Laska 2009-08-03 20:02:59 UTC
Closed by on comment#20