Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
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
[6.7_3.5.4] Shown Error registering to RHN account after register rhevh into ...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhev-hypervisor (Show other bugs)
3.5.0
Unspecified Unspecified
high Severity urgent
: ---
: 3.5.4
Assigned To: Fabian Deutsch
Virtualization Bugs
node
: TestOnly, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-18 06:22 EDT by haiyang,dong
Modified: 2016-02-10 15:02 EST (History)
16 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-03 13:09:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Node
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
fdeutsch: Triaged+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1713 normal SHIPPED_LIVE Important: rhev-hypervisor security, bug fix, and enhancement update 2015-09-03 17:08:30 EDT

  None (edit)
Description haiyang,dong 2015-06-18 06:22:02 EDT
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@redhat.com', '--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 02:49:36 EDT
Lowering priority, because - even if bad - it does not break an existing setup.
Comment 2 Ryan Barry 2015-06-20 09:47:43 EDT
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 13:08:14 EDT
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 10:30:20 EDT
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 04:24:07 EDT
According to Comment 9, verified this bug on rhevh-6.7-20150707.0.el6ev.iso
Comment 14 Dylan Gross 2015-08-07 10:24:27 EDT
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 13:09:29 EDT
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.