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 572523

Summary: kickstart needs to check that a disk exists before calling shouldClear
Product: Red Hat Enterprise Linux 6 Reporter: Miroslav Vadkerti <mvadkert>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: dgilmore, pholica
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:8a7305025d4319a1eaabf040e929bfb88703b53112c1571a6d3fbb6d5acba84f
Fixed In Version: anaconda-13.21.21-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-02 20:45:11 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
Used kickstart
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Miroslav Vadkerti 2010-03-11 12:59:55 UTC
The following was filed automatically by anaconda:
anaconda 13.21.16 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/partitioning.py", line 307, in shouldClear
    elif device.isDisk and not device.partitioned:
  File "/usr/lib/anaconda/kickstart.py", line 699, in execute
    storage.clearPartDisks)
  File "/usr/lib/anaconda/kickstart.py", line 1086, in execute
    obj.execute(self.anaconda)
  File "/usr/bin/anaconda", line 1035, in <module>
    ksdata.execute()
AttributeError: 'NoneType' object has no attribute 'isDisk'

Comment 1 Miroslav Vadkerti 2010-03-11 12:59:59 UTC
Created attachment 399332 [details]
Attached traceback automatically from anaconda.

Comment 3 Miroslav Vadkerti 2010-03-11 13:02:56 UTC
Created attachment 399333 [details]
Used kickstart

Comment 4 RHEL Program Management 2010-03-11 13:25:29 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 5 Chris Lumens 2010-03-11 15:04:16 UTC
This appears to be a virt install, as all your disks are referred to as vd* in the storage.log.  However, your kickstart only refers to sda which does not exist in this environment.  Can you change sd to vd throughout your kickstart file and see if that fixes the problem?

Comment 6 Miroslav Vadkerti 2010-03-12 06:03:13 UTC
Yes, sorry for this, sda -> vda fixes the problem. Though, I think anaconda shouldn't end up with traceback and print an error in this case.

Comment 7 Chris Lumens 2010-03-12 14:48:39 UTC
> Yes, sorry for this, sda -> vda fixes the problem. Though, I think anaconda
> shouldn't end up with traceback and print an error in this case.    

Agreed - just wanted to make sure I understood what the root cause was.

Comment 8 Fedora Update System 2010-03-18 17:12:35 UTC
anaconda-13.35-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.35-1.fc13

Comment 9 Fedora Update System 2010-03-23 02:25:41 UTC
anaconda-13.35-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Pavel Holica 2010-04-14 14:04:16 UTC
Created attachment 406521 [details]
Attached traceback automatically from anaconda.

Comment 12 Pavel Holica 2010-05-06 11:36:51 UTC
Verified on RHEL6.0-20100428.3 x86_64 Server.
Filed new bug 589522.

Comment 13 Dennis Gilmore 2010-05-12 02:28:03 UTC
Created attachment 413305 [details]
Attached traceback automatically from anaconda.

Comment 14 releng-rhel@redhat.com 2010-07-02 20:45:11 UTC
Red Hat Enterprise Linux Beta 2 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.