Bug 589688

Summary: KeyError: 'ID_PATH'
Product: Red Hat Enterprise Linux 6 Reporter: Michal Schmidt <mschmidt>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact: Yulia Kopkova <ykopkova>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ykopkova
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:8a388a3a231a17f4854a9ae9abe64b8e4366a0ac7ea5a3c76815ac26897a5ec8
Fixed In Version: udev-147-2.15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 589717 (view as bug list) Environment:
Last Closed: 2010-11-10 21:49:28 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

Description Michal Schmidt 2010-05-06 17:19:44 UTC
The following was filed automatically by anaconda:
anaconda 13.21.35 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/udev.py", line 293, in udev_device_get_path
    return info["ID_PATH"]
  File "/usr/lib/anaconda/storage/devices.py", line 155, in deviceNameToDiskByPath
    return udev_device_get_path(dev)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1360, in handleUdevDiskLabelFormat
    bypath = os.path.basename(deviceNameToDiskByPath(device.name))
  File "/usr/lib/anaconda/storage/devicetree.py", line 1715, in handleUdevDeviceFormat
    self.handleUdevDiskLabelFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1299, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1965, in populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/__init__.py", line 379, in reset
    self.devicetree.populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 103, 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 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1346, in setScreen
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1259, in nextClicked
    self.setScreen ()
KeyError: 'ID_PATH'

Comment 1 Michal Schmidt 2010-05-06 17:19:48 UTC
Created attachment 412119 [details]
Attached traceback automatically from anaconda.

Comment 2 Chris Lumens 2010-05-06 17:23:32 UTC
Looks like virtio devices aren't providing ID_PATH again.

Comment 3 Michal Schmidt 2010-05-06 17:25:46 UTC
I attempted an installation in a KVM guest, started from boot.iso. I gave Anaconda the HTTP URL where it then downloaded install.img from. The graphical Anaconda started, notified me that I'm installing a beta, asked about the storage method, at which point I chose the basic one. Then it crashed.

Comment 5 RHEL Program Management 2010-05-06 18:37:10 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 6 Harald Hoyer 2010-05-07 08:10:17 UTC
should be fixed with udev-147-2.15

Comment 10 releng-rhel@redhat.com 2010-11-10 21:49:28 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.