Bug 747519 - RHEV-H 5.8 register to RHN will fail.
Summary: RHEV-H 5.8 register to RHN will fail.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ovirt-node
Version: 5.8
Hardware: x86_64
OS: Linux
high
high
Target Milestone: beta
: 5.8
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 758465
TreeView+ depends on / blocked
 
Reported: 2011-10-20 06:39 UTC by cshao
Modified: 2016-04-26 14:45 UTC (History)
10 users (show)

Fixed In Version: ovirt-node-1.0-78.el5
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
: 758465 (view as bug list)
Environment:
Last Closed: 2012-02-21 05:04:46 UTC
Target Upstream Version:


Attachments (Terms of Use)
ovirt.log (37.35 KB, text/plain)
2011-10-20 06:39 UTC, cshao
no flags Details
up2date (2.05 KB, text/plain)
2011-10-20 06:40 UTC, cshao
no flags Details
patch (1.46 KB, patch)
2011-10-31 14:19 UTC, Joey Boggs
no flags Details | Diff
ovirt.log on rhev-hypervisor5-5.8-20111121.0.el5 (50.75 KB, text/plain)
2011-11-23 07:06 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0168 0 normal SHIPPED_LIVE Important: rhev-hypervisor5 security and bug fix update 2012-02-21 10:01:32 UTC

Description cshao 2011-10-20 06:39:39 UTC
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

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!

Comment 1 cshao 2011-10-20 06:40:12 UTC
Created attachment 529198 [details]
up2date

Comment 2 cshao 2011-10-20 07:17:41 UTC
There is no such issue in rhev-hypervisor-5.7-20111018.1.el5_7, so it is a regression bug.

Comment 4 Mike Burns 2011-10-28 16:39:56 UTC
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.

Comment 5 Joey Boggs 2011-10-31 14:19:10 UTC
Created attachment 530984 [details]
patch

Comment 8 Mike Burns 2011-11-08 04:08:25 UTC
Patch was incorrectly applied in previous build.  Next build will fix it.

Comment 9 Mike Burns 2011-11-09 00:32:56 UTC
Patch applied correctly in new build, but still ineffective:

Same error as Comment 4.

Comment 14 Guohua Ouyang 2011-11-23 07:06:04 UTC
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.

Comment 18 Mike Burns 2012-01-13 00:36:37 UTC
    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.

Comment 19 Stephen Gordon 2012-02-10 15:55:20 UTC
    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.

Comment 20 errata-xmlrpc 2012-02-21 05:04:46 UTC
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


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