Bug 497911

Summary: KeyError: 'sda3' - while attempting to add logical volume without specifying drive
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: 11CC: anaconda-maint-list, fabien.georget, jlaska, jturner, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard: anaconda_trace_hash:34e98c46cbc5601eadf96fd29418aceebf503be468feca89cae3ee34fd2a64b0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-25 19:26:58 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
Attached traceback automatically from anaconda.
none
anacdump.txt (anaconda-11.5.0.49) none

Description James Laska 2009-04-27 20:19:41 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.47 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/partitioning.py", line 917, in growPartitions
    if not limited[part.name]:
  File "/usr/lib/anaconda/storage/partitioning.py", line 567, in doPartitioning
    growPartitions(disks, partitions)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1005, in refresh
    doPartitioning(self.storage)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1113, in editPartition
    if self.refresh(justRedraw=not actions):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 962, in newCB
    self.editPartition(device, isNew=1)
KeyError: 'sda3'

Comment 1 James Laska 2009-04-27 20:19:45 UTC
Created attachment 341481 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-04-28 15:35:58 UTC
= Steps to reproduce =

On an IBM Power5 ppc64 system with two local disks.

1) Boot rawhide/ppc
2) At disk screen, select "Use entire drive" and select "review partitioning"
3) Proceed to disk partitioning details
4) Delete volume group
5) Delete logical volume sda2
6) Delete '/boot' partition on sdb1 
7) Delete logical volume partition on sdb2
8) Create '/boot' partition on sda
9) Create a logical volume partition of maximum size (do not specify allowable disks) 
10) Create another logical volume partition of maximum size (do not specify allowable disks) 

= Actual Results =
Step #9 creates sdb1 as a logical volume (expected)
Step #10 results in a traceback (expected sda3 to be created)>

Comment 3 James Laska 2009-05-05 15:42:38 UTC
Created attachment 342480 [details]
Attached traceback automatically from anaconda.

Comment 4 James Laska 2009-05-06 13:43:45 UTC
reproduced on a rawhide/x86_64 guest (anaconda-11.5.0.48) using the same procedure outlined in comment#2.

Comment 5 James Laska 2009-05-06 13:45:44 UTC
Created attachment 342645 [details]
anacdump.txt (anaconda-11.5.0.49)

Sorry, failure was reproduced against anaconda-11.5.0.49 in a rawhide/x86_64 kvm guest

Comment 6 Chris Lumens 2009-05-11 17:58:39 UTC
This should be fixed in anaconda-11.5.0.51-1.

Comment 7 Chris Lumens 2009-05-18 14:14:47 UTC
*** Bug 501193 has been marked as a duplicate of this bug. ***

Comment 8 Bug Zapper 2009-06-09 14:40:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping