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 1038358

Summary: AttributeError: 'NoneType' object has no attribute 'id'
Product: Red Hat Enterprise Linux 7 Reporter: Tomoki Sekiyama <tsekiyam>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: lwang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b3788e766671b5f8a7b6f187dcb7b8b8f44da5ca49211c572ce60e9b86a5dd8c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-12 16:14:22 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
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Tomoki Sekiyama 2013-12-05 01:05:48 UTC
Description of problem:
Selecting custom partition settings and adding too large partition crash the anaconda.

Version-Release number of selected component:
anaconda-19.31.36-1

The following was filed automatically by anaconda:
anaconda 19.31.36-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1938, in copy
    req_disks.append(new.devicetree.getDeviceByID(disk.id))
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 775, in _save_devicetree
    _blivet_copy = self.storage.copy()
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 712, in configure
    self._save_devicetree()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1921, in factoryDevice
    factory.configure()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1982, in on_add_clicked
    **kwargs)
AttributeError: 'NoneType' object has no attribute 'id'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=RHEL-7.0\x20Everything.x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-54.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Tomoki Sekiyama 2013-12-05 01:05:54 UTC
Created attachment 832920 [details]
File: anaconda-tb

Comment 2 Tomoki Sekiyama 2013-12-05 01:05:57 UTC
Created attachment 832921 [details]
File: anaconda.log

Comment 3 Tomoki Sekiyama 2013-12-05 01:06:00 UTC
Created attachment 832922 [details]
File: environ

Comment 4 Tomoki Sekiyama 2013-12-05 01:06:03 UTC
Created attachment 832923 [details]
File: lsblk_output

Comment 5 Tomoki Sekiyama 2013-12-05 01:06:05 UTC
Created attachment 832924 [details]
File: nmcli_dev_list

Comment 6 Tomoki Sekiyama 2013-12-05 01:06:08 UTC
Created attachment 832925 [details]
File: os_info

Comment 7 Tomoki Sekiyama 2013-12-05 01:06:11 UTC
Created attachment 832926 [details]
File: program.log

Comment 8 Tomoki Sekiyama 2013-12-05 01:06:14 UTC
Created attachment 832927 [details]
File: storage.log

Comment 9 Tomoki Sekiyama 2013-12-05 01:06:17 UTC
Created attachment 832928 [details]
File: syslog

Comment 10 Tomoki Sekiyama 2013-12-05 01:06:20 UTC
Created attachment 832929 [details]
File: ifcfg.log

Comment 11 Tomoki Sekiyama 2013-12-05 01:06:23 UTC
Created attachment 832930 [details]
File: packaging.log

Comment 13 Dave Cantrell 2013-12-12 16:14:22 UTC
I am unable to reproduce this problem with RHEL 7.0 Beta.