Bug 530659
| Summary: | rhnregGui.py Line 949 in populateProfile: local variable 'ipaddr' referenced before assignment | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | David L. Sieving <David.Sieving> | |
| Component: | rhn-client-tools | Assignee: | Miroslav Suchý <msuchy> | |
| Status: | CLOSED ERRATA | QA Contact: | Garik Khachikyan <gkhachik> | |
| Severity: | high | Docs Contact: | ||
| Priority: | low | |||
| Version: | 5.5 | CC: | cperry, gkhachik, jhutar, jkastner, mkoci, msuchy | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | i686 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 532145 (view as bug list) | Environment: | ||
| Last Closed: | 2010-03-30 08:44:30 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: | 554317 | |||
| Bug Blocks: | 532145 | |||
Fixed in upstream - Spacewalk bug 532145 commited as rev. 189122 #FAILED
On firstboot GUI registration to RHN (processing sent of hardware information to server) there was thrown an exception - and got frozen on the page of "Sending hardware profile..." dialog box. But the system got registered to RHN and served normally once I reset it...
Error is:
---
[Thu Jan 7 13:37:03 2010] up2date Registered login info.
[Thu Jan 7 13:37:18 2010] up2date Registered system.
[Thu Jan 7 13:37:18 2010] up2date Wrote system id to disk.
[Thu Jan 7 13:37:19 2010] up2date Sent hardware profile.
[Thu Jan 7 13:37:34 2010] up2date
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1681, in callAndFilterExceptions
return function()
File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1096, in _createProfilePageApply
if self.cfg['supportsExtendedPackageProfile']:
exceptions.AttributeError: RhnCreateProfileWindow instance has no attribute 'cfg'
---
# COMMENT Additionally to comment#8: The "Gnome" was chosen and the RHN registration passed through firstboot GUI guide... This issue (#8) has been solved in BZ 554317. # VERIFIED The packages fixing the issue: rhn-check-0.4.20-15.el5 rhn-setup-0.4.20-15.el5 rhn-setup-gnome-0.4.20-15.el5 rhn-client-tools-0.4.20-15.el5 Verification was applied on RHEL 5.5 Client/Server (v. 20100117.0). Scenario: firstboot - tried registration to both hosted and satellite. All is going fine without any errors. yum update also works fine with getting the updates to be installed... 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-2010-0270.html |
Description of problem: Unable to register RedHat 5 Enterprise Server for software updates. Version-Release number of selected component (if applicable): /usr/share/rhn/up2date_client/rhnregGui.py How reproducible: Configure /etc/sysconfig to enable firstboot. Follow the prompts and attempt to register for updates. run 'yum update' Steps to Reproduce: cp -pr /etc/sysconfig/firstboot /etc/sysconfig/firstboot.bak rm /etc/sysconfig/firstboot chkconfig --list firstboot chkconfig --level 35 firstboot on chkconfig --list firstboot shutdown -r now (Follow the prompts and attempt to register for updates) yum update Actual results (in /var/log/up2date): up2date Traceback (most recent call last): File "/usr/share/rhn/up2date_client/rhnregGui.py", line 949, in populateProfile if ipaddr: exceptions.UnboundLocalError: local variable 'ipaddr' referenced before assignment Actual results (on 'yum update'): Loaded plugins: rhnplugin, security Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-i386-server-5. Please verify its path and try again Expected results: Successful registration for software updates. Successful execution of 'yum update' Additional info: