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: ...
Lowering priority, because - even if bad - it does not break an existing setup.
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.
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.
Hey Dimitra, yes that analysis looks correct. I'm now pulling in the new package to see if this is fixing our problem. Thanks!
According to Comment 9, verified this bug on rhevh-6.7-20150707.0.el6ev.iso
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
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