Bug 495713 - ValueError: object comparing to must be a _ped.DiskType
Summary: ValueError: object comparing to must be a _ped.DiskType
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pyparted
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:f50b495fc575df28f...
: 495822 495855 (view as bug list)
Depends On:
Blocks: F11AnacondaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-04-14 14:02 UTC by James Laska
Modified: 2013-09-02 06:34 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-06 21:25:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (49.61 KB, text/plain)
2009-04-14 14:02 UTC, James Laska
no flags Details
Attached traceback automatically from anaconda. (38.54 KB, text/plain)
2009-04-14 16:22 UTC, Scott Dodson
no flags Details
Attached traceback automatically from anaconda. (40.71 KB, text/plain)
2009-04-15 07:50 UTC, Michal Nowak
no flags Details
Attached traceback automatically from anaconda. (41.08 KB, text/plain)
2009-04-15 11:14 UTC, Jens Petersen
no flags Details

Description James Laska 2009-04-14 14:02:40 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.44 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devicetree.py", line 667, in _addDevice
    if newdev.path in [d.path for d in self._devices]:
  File "/usr/lib/anaconda/storage/devicetree.py", line 1091, in addUdevDiskDevice
    self._addDevice(device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1159, in addUdevDevice
    device = self.addUdevDiskDevice(info)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1588, in populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/__init__.py", line 288, in reset
    self.devicetree.populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 101, in storageInitialize
    storage.reset()
  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 1323, in nextClicked
    self.anaconda.dispatch.gotoNext()
ValueError: object comparing to must be a _ped.DiskType

Comment 1 James Laska 2009-04-14 14:02:44 UTC
Created attachment 339494 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-04-14 14:04:28 UTC
Steps to reproduce:

1. Create a KVM/x86_64 guest
2. Zero out the the virtio disk (dd if=/dev/zero of=/dev/Volume/vguest1-disk0 bs=514 count=20)
3. Initiate install (anaconda-11.5.0.44)
4. Select lang+keyboard
5. When prompted, select to re-initialize drive /dev/vdb

Crash

Comment 3 Scott Dodson 2009-04-14 16:22:13 UTC
Created attachment 339520 [details]
Attached traceback automatically from anaconda.

Comment 4 Chris Lumens 2009-04-14 17:18:20 UTC
This should be fixed in the next build of pyparted.  For now, you can test with updates=http://clumens.fedorapeople.org/updates.img.

Comment 5 James Laska 2009-04-14 17:28:32 UTC
Confirmed the fix using the updates.img in comment#4.  Thank you!

Comment 6 Scott Dodson 2009-04-14 18:05:22 UTC
Confirmed here too. Thanks.

Comment 7 Michal Nowak 2009-04-15 07:50:34 UTC
Created attachment 339638 [details]
Attached traceback automatically from anaconda.

Comment 8 Jens Petersen 2009-04-15 11:14:00 UTC
Created attachment 339665 [details]
Attached traceback automatically from anaconda.

Comment 9 Chris Lumens 2009-04-15 13:56:16 UTC
*** Bug 495855 has been marked as a duplicate of this bug. ***

Comment 10 Chris Lumens 2009-04-15 13:56:29 UTC
*** Bug 495822 has been marked as a duplicate of this bug. ***

Comment 11 Chris Lumens 2009-05-06 21:25:43 UTC
Thanks for confirming.


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