Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 677689

Summary: [REHL6.1] Anaconda - TypeError: 'NoneType' object is unsubscriptable
Product: Red Hat Enterprise Linux 6 Reporter: Jeff Burke <jburke>
Component: anacondaAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: atodorov, borgan, ddumas, djuran, dyeisley, jstancek, jzeleny, pbunyan, pcfe, pholica, williams
Target Milestone: beta   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-13.21.99-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 696904 (view as bug list) Environment:
Last Closed: 2011-05-19 12:37:42 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: 494832, 696904    
Attachments:
Description Flags
anaconda.log
none
storage.log none

Description Jeff Burke 2011-02-15 15:42:33 UTC
Description of problem:
While reviewing the automated "Add Distro Test" I noticed the x86_64 arch failed to install.

Version-Release number of selected component (if applicable):
anaconda-13.21.97-1.el6.src.rpm

How reproducible:
Not sure
 
Actual results:

anaconda 13.21.97 exception report 
Traceback (most recent call first): 
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 417, in majorminor 
    dev = udev_get_device(sysfs_path[4:]) 
  File "/usr/lib/anaconda/storage/formats/lvmpv.py", line 153, in writeKS 
    f.write("pv.%s" % self.majorminor) 
  File "/usr/lib/anaconda/storage/devices.py", line 1061, in writeKS 
    self.format.writeKS(f) 
  File "/usr/lib/anaconda/storage/__init__.py", line 1154, in writeKS 
    device.writeKS(f, preexisting=preexisting, noformat=noformat) 
  File "/usr/lib/anaconda/instdata.py", line 277, in writeKS 
    self.storage.writeKS(f) 
  File "/usr/lib/anaconda/packages.py", line 66, in writeKSConfiguration 
    anaconda.id.writeKS(fn) 
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep 
    rc = stepFunc(self.anaconda) 
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext 
    self.moveStep() 
  File "/usr/lib/anaconda/cmdline.py", line 187, in run 
    anaconda.dispatch.gotoNext() 
  File "/usr/bin/anaconda", line 1121, in <module> 
    anaconda.intf.run(anaconda) 
TypeError: 'NoneType' object is unsubscriptable 
 
install exited abnormally [1/1]  
The system will be rebooted when you press Ctrl-C or Ctrl-Alt-Delete. 

Expected results:


Additional info:

Comment 3 Chris Lumens 2011-02-15 16:09:14 UTC
Ales - this looks related to commit d896feb152b5a5f8b20f1c70d5253df02c98732e from master.

Comment 4 Ales Kozumplik 2011-02-16 14:02:37 UTC
Created attachment 479117 [details]
anaconda.log

Comment 5 Ales Kozumplik 2011-02-16 14:03:01 UTC
Created attachment 479118 [details]
storage.log

Comment 6 Ales Kozumplik 2011-02-17 10:22:24 UTC
I can reproduce this on cciss (HP raid driver) hardware.

Comment 7 RHEL Program Management 2011-02-17 19:20:36 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 8 Ales Kozumplik 2011-02-18 08:36:22 UTC
Fixed by e2ee4b7f3954e7f307685d3b5f77f513e13dbb6a, fixed in anaconda-13.21.99-1.

Comment 9 Ales Kozumplik 2011-02-18 09:06:23 UTC
Fixed master by: 9e01096f858c047a5c5f46b16f9acc65763b98b8.

Comment 10 Chris Lumens 2011-02-21 15:10:11 UTC
*** Bug 678620 has been marked as a duplicate of this bug. ***

Comment 11 Alexander Todorov 2011-02-22 09:59:32 UTC
anaconda-13.21.99-1 not included in latest nightly: 0221.n.1. I still get this bug.

Comment 14 Pavel Holica 2011-03-02 08:51:53 UTC
According to comment 13, moving to verified.

Comment 15 David Juran 2011-04-14 16:21:28 UTC
Hello

Just noticed that this issue is still affecting F15 beta (anaconda-15.27-1)

Comment 16 errata-xmlrpc 2011-05-19 12:37:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html