Red Hat Bugzilla – Bug 747519
RHEV-H 5.8 register to RHN will fail.
Last modified: 2016-04-26 10:45:51 EDT
Created attachment 529197 [details] ovirt.log Description of problem: RHEV-H 5.8 register to RHN will fail. Version-Release number of selected component (if applicable): rhev-hypervisor-5.8-20111019.0.el5 How reproducible: 100% Steps to Reproduce: 1. Install rhev-hypervisor-5.8-20111019.0.el5. 2. Register RHEV-H to public RHN or RHN Satellite. 3. Please see attachment for more details. Actual results: RHEV-H 5.8 register to RHN will fail. RHEV-H 5.7 register to RHN can successful. Expected results: RHEV-H 5.8 register to RHN can successful. Additional info: ovirt.log ============================================================= 1) Register to public RHN 3) Return to menu 2) Register to RHN Satellite Choose an option: Enter RHN account username: qa@redhat.com Enter password for RHN account: Enter profile name for this system (optional): Enter HTTP proxy in host:port format, e.g. proxy.example.com:3128 (leave blank if not required): Registering to RHN account..... An error has occurred: Error Message: Invalid username/password combination Error Class Code: 2 Error Class Info: Invalid username and password combination. If you are using email address as a login, try using your associated login name instead. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. See /var/log/up2date for more information Error registering to RHN account!
Created attachment 529198 [details] up2date
There is no such issue in rhev-hypervisor-5.7-20111018.1.el5_7, so it is a regression bug.
Error message reported above is bug 567901 New error is Registering to RHN account..... Traceback (most recent call last): File "/usr/sbin/rhnreg_ks", line 29, in ? from up2date_client import rhnreg File "/usr/share/rhn/up2date_client/rhnreg.py", line 15, in ? File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 16, in ? File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 14, in ? ImportError: No module named yum.Errors Error registering to RHN account! This occurs when running directly with rhnreg_ks as well.
Created attachment 530984 [details] patch
Patch was incorrectly applied in previous build. Next build will fix it.
Patch applied correctly in new build, but still ineffective: Same error as Comment 4.
Created attachment 535355 [details] ovirt.log on rhev-hypervisor5-5.8-20111121.0.el5 It still failed on rhev-hypervisor5-5.8-20111121.0.el5, check the ovirt.log for details.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: A change in the tools used to register to RHN caused all registrations to fail. This patch fixes how we work with those tools.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -A change in the tools used to register to RHN caused all registrations to fail. This patch fixes how we work with those tools.+A change in the tools used to register the Hypervisor to Red Hat Network previously meant that all registration attempts failed. This update corrects this error and registration attempts now succeed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0168.html