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 825862 - UnboundLocalError: local variable 'device' referenced before assignment
Summary: UnboundLocalError: local variable 'device' referenced before assignment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-28 18:57 UTC by chandrasekhar
Modified: 2012-05-30 19:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-29 14:46:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description chandrasekhar 2012-05-28 18:57:06 UTC
Description of problem: Error During Installation


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
anaconda 13.21.82 exception report
 Traceback  (most recent call first):
   File "/usr/lib/anaconda/kickstart.py" , line 615, in execute
       anaconda.id.network.setDNS(self.nameserver,device)
   File "/usr/lib/anaconda/kickstart.py", line 1149, in execute
        obj.execute(self.anaconda)
    File "/usr/bin/anaconda", line 1102, in <module>
  
  ksdata.execute()
  
  UnboundLocalError: local variable 'device' referenced before assignment

Expected results:


Additional info:

Comment 2 Radek Vykydal 2012-05-29 05:29:44 UTC
This issue should be fixed in RHEL 6.2 (bug #681803 and related). If you are still hitting the problem in the 6.2 release, feel free to reopen the bug.

Comment 3 chandrasekhar 2012-05-29 05:58:58 UTC
(In reply to comment #2)
> This issue should be fixed in RHEL 6.2 (bug #681803 and related). If you are
> still hitting the problem in the 6.2 release, feel free to reopen the bug.

How to debug this error during installation......

Comment 4 Chris Lumens 2012-05-29 14:46:42 UTC
You either need to use RHEL 6.2 or work on your own patch and use an updates.img to fix it.  Bugzilla is not a support tool.


Note You need to log in before you can comment on or make changes to this bug.