Bug 489498

Summary: [StorageRewrite] DiskLabelException: /dev/vdb: unrecognised disk label
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dlehman, jturner, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: StorageRewrite anaconda_trace_hash:89f7d3095cff159dcec01678834a5242d19411755dc0d2ea0e902dba658be717
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-10 15:12:09 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 James Laska 2009-03-10 13:59:05 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.25 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 49, in __init__
    self.__disk = _ped.Disk(device.getPedDevice())
  File "/usr/lib/anaconda/storage/devices.py", line 609, in __init__
    self.partedDisk = parted.Disk(device=self.partedDevice)
  File "/usr/lib/anaconda/storage/devicetree.py", line 752, in addUdevDevice
    sysfsPath=sysfs_path)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1013, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/devicetree.py", line 155, in __init__
    self._populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 220, in reset
    luksDict=self.__luksDevs)
  File "/usr/lib/anaconda/storage/__init__.py", line 65, in storageInitialize
    anaconda.id.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 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
DiskLabelException: /dev/vdb: unrecognised disk label

Comment 1 James Laska 2009-03-10 13:59:09 UTC
Created attachment 334655 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-03-10 14:02:25 UTC
= Steps to reproduce =

 1) Initiate a KVM install

# virt-install -n vguest1 -r 1024 --vcpus 2 --os-variant fedora10 -b br0 -l http://gromit.redhat.com/pub/fedora/linux/development/x86_64/os -f /dev/VolGroup00/vguest1-disk0  --arch x86_64 --vnc -x "console=ttyS0"

 2) Attach a second disk device (before loader has started)

# virsh attach-disk vguest1 /dev/VolGroup00/vguest1-disk1 vdb

 3) Proceed to stage#2

Comment 3 James Laska 2009-03-10 14:15:15 UTC
Same result if you boot with 2 disks.  The first being one that's already been formatted, the second is a new disk never seen by linux.

# virt-install -n vguest1 -r 1024 --vcpus 2 --os-variant fedora10 -b br0 \
 -l http://gromit.redhat.com/pub/fedora/linux/development/x86_64/os \
 -f /dev/VolGroup00/vguest1-disk0 \
 -f /dev/VolGroup00/vguest1-disk1 \
  --arch x86_64 --vnc -x "console=ttyS0"

Comment 4 David Lehman 2009-03-10 15:12:09 UTC
Should be fixed in anaconda-11.5.0.26. Thanks for the bug report.