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:
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