Bug 1233145 - [6.7_3.5.4] Shown Error registering to RHN account after register rhevh into rhevm3.5 and then register it into RHN
Summary: [6.7_3.5.4] Shown Error registering to RHN account after register rhevh into ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-hypervisor
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 3.5.4
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-18 10:22 UTC by haiyang,dong
Modified: 2022-07-09 07:38 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-03 17:09:29 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:
fdeutsch: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47337 0 None None None 2022-07-09 07:38:46 UTC
Red Hat Product Errata RHSA-2015:1713 0 normal SHIPPED_LIVE Important: rhev-hypervisor security, bug fix, and enhancement update 2015-09-03 21:08:30 UTC

Description haiyang,dong 2015-06-18 10:22:02 UTC
Description of problem:
After register rhevh into rhevm3.5 and then register it into RHN will fail
with the follow error info:
2015-06-16 07:39:59,664       INFO Registering to RHN account.....
2015-06-16 07:39:59,666       INFO Successfully unpersisted file "/etc/sysconfig/rhn/systemid"
2015-06-16 07:39:59,667       INFO Successfully unpersisted file "/etc/sysconfig/rhn/up2date"
2015-06-16 07:40:21,011       INFO File "/etc/sysconfig/rhn/up2date" successfully persisted
2015-06-16 07:40:21,014       INFO File "/etc/sysconfig/rhn/systemid" successfully persisted
2015-06-16 07:40:21,014       INFO System None sucessfully registered to None
2015-06-16 07:40:21,014      ERROR Failed to call: ['/usr/sbin/rhnreg_ks', '--username', 'qa', '--password', 'XXXXXXX', '--novirtinfo', '--norhnsd', '--nopackages', '--force']
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ovirt/node/setup/rhn/rhn_model.py", line 202, in commit
  File "/usr/share/rhn/virtualization/support.py", line 82, in refresh
TypeError: poll_through_vdsm() takes exactly 1 argument (0 given)
2015-06-16 07:40:21,015       INFO Captured nothing
2015-06-16 07:40:21,016       INFO An exception during the transaction: Error registering to RHN account
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ovirt/node/ui/__init__.py", line 949, in __run_transaction
  File "/usr/lib/python2.6/site-packages/ovirt/node/plugins.py", line 188, in dry_or
  File "/usr/lib/python2.6/site-packages/ovirt/node/ui/__init__.py", line 949, in <lambda>
  File "/usr/lib/python2.6/site-packages/ovirt/node/setup/rhn/rhn_model.py", line 211, in commit
RuntimeError: Error registering to RHN account

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.7-20150609.0
ovirt-node-3.2.3-3.el6.noarch


How reproducible:
100%
QA Whiteboard:
Not regression bug

Steps to Reproduce:
1. Install rhev-hypervisor6-6.7-20150609.0 and configure network
2. Register rhevh6.7 to rhevm3.5
3. Then Register rhevh6.7 to rhn

Actual results:
After step3, it will show "RuntimeError: Error registering to RHN account" info

Expected results:
After step3, Register rhevh6.7 to rhn success.

Additional info:
...

Comment 1 Fabian Deutsch 2015-06-19 06:49:36 UTC
Lowering priority, because - even if bad - it does not break an existing setup.

Comment 2 Ryan Barry 2015-06-20 13:47:43 UTC
This strongly appears to also be a bug with rhn-virtualization-host itself, since that's where the traceback originates.

I'm reassigning this to the correct component.

Comment 3 Dimitar Yordanov 2015-06-24 17:08:14 UTC
Hi All, 

  It seem the problem is that the rhn-virtualization-host version used is very old: rhn-virtualization-host-5.4.34-4.el6sat.noarch.rpm.
  The current one and the one used in the previous version of  rhev-hypervisor is rhn-virtualization-host-5.4.54-2.el6sat.noarch.rpm.

Comment 5 Fabian Deutsch 2015-06-26 14:30:20 UTC
Hey Dimitra,

yes that analysis looks correct. I'm now pulling in the new package to see if this is fixing our problem.
Thanks!

Comment 12 haiyang,dong 2015-07-09 08:24:07 UTC
According to Comment 9, verified this bug on rhevh-6.7-20150707.0.el6ev.iso

Comment 14 Dylan Gross 2015-08-07 14:24:27 UTC
Is it likely that this same problem exists in rhevh-7.1 hypervisors?

My customer reports that he has no problem registering rhevh-7.0 hypervisors to his Satellite 5.7, but two rhevh-7.1 hypervisors throw a very similar traceback in the logs.

2015-08-06 20:30:15,948       INFO Captured nothing
2015-08-06 20:30:15,948       INFO An exception during the transaction: Error registering to RHN account
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py", line 949, in __run_transaction
  File "/usr/lib/python2.7/site-packages/ovirt/node/plugins.py", line 188, in dry_or
  File "/usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py", line 949, in <lambda>
  File "/usr/lib/python2.7/site-packages/ovirt/node/setup/rhn/rhn_model.py", line 211, in commit
RuntimeError: Error registering to RHN account

Comment 18 errata-xmlrpc 2015-09-03 17:09:29 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.

https://rhn.redhat.com/errata/RHSA-2015-1713.html


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