Bug 1365696

Summary: NotRegistered error messages on RHEV host. Error :- virtualization.errors.NotRegistered: System ID not found
Product: Red Hat Enterprise Virtualization Manager Reporter: vaibhav <vpagar>
Component: rhev-hypervisorAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED ERRATA QA Contact: Wei Wang <weiwang>
Severity: medium Docs Contact:
Priority: urgent    
Version: 3.6.0CC: dfediuck, dougsland, lsurette, mgoldboi, michal.skrivanek, pstehlik, srevivo, troels, ycui, ykaul
Target Milestone: ovirt-3.6.9Keywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhev-hypervisor7-7.2-20160826.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-26 14:43:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vaibhav 2016-08-09 23:10:24 UTC
Description of problem:
After updating RHEV-H host we are receiving error message like "virtualization.errors.NotRegistered: System ID not found".

Version-Release number of selected component (if applicable):
- Red Hat Enterprise Virtualization Hypervisor release 7.2 

How reproducible:
We can register the RHEV-H host, but still we will get error messages like host is not register.

Steps to Reproduce:
1. Install RHEV-H host.
2. Register it to rhn with subscription-manager and attach correct subscription to host.
3. Check for error message like "virtualization.errors.NotRegistered: System ID not found." 

Actual results:
We are receiving error messages for the host which is already register.

Expected results:
No error messages.

Additional info:

Comment 1 vaibhav 2016-08-09 23:25:47 UTC
We referred article :- https://access.redhat.com/solutions/495963

But we can not remove packages from RHEVH, we check for the cron job which checks for the system if its registered or not.

There is one cron job running which is checking system is register or not, As a workaround you need to empty below cron job on the RHEV-H system..
 
  # cd /etc/cron.d/

  # rhn-virtualization.cron            <-- remove everything from this file and make this file empty.

  #  persist rhn-virtualization.cron   <-- Persist the changes with this command.

And issue resolved.

Now if this packages are not important for RHEVH then we can remove this packages from RHEVH system.

Comment 2 Fabian Deutsch 2016-08-10 07:54:38 UTC
The versions were: 20160516.0.el7ev updated to 20160627.3.el7ev.

Comment 3 Wei Wang 2016-08-29 09:05:16 UTC
Test Version:
RHEV-H 7.2-20160826.1.el7ev
ovirt-node-3.6.1-15.0.el7ev.noarch

Test Steps:
1. Install old RHEV-H on the host.
2. Register it to rhn with subscription-manager and attach correct subscription to host.
3. Update RHEV-H to RHEV-H 7.2-20160826.1.el7ev
4. Check the error message like "virtualization.errors.NotRegistered: System ID not found." 


Result:
No error message is displayed.


The bug cannot be reproduced, change the status to VERIFIED.

Comment 4 Wei Wang 2016-08-29 09:32:41 UTC
Update test steps:
1. Install old RHEV-H(20160606.0.el6ev) on the host
2. Register it to rhn with subscription-manager and attach correct subscription to host.
3. Check the /etc/cron.d/rhn-virtualization.cron content
4. Update RHEV-H to RHEV-H 7.2-20160516.0.el7ev
5. Check the /etc/cron.d/rhn-virtualization.cron content is the same with the one in step 3
6. Update RHEV-H to RHEV-H 7.2-20160826.1.el7ev
7. Check the /etc/cron.d/rhn-virtualization.cron content is the same to ones in step 3 and 5
8. Check the error message like "virtualization.errors.NotRegistered: System ID not found."

Comment 5 Wei Wang 2016-08-29 09:34:23 UTC
correct myself
1. Install old RHEV-H(20160505.0.el6ev) on the host

Comment 7 errata-xmlrpc 2016-09-26 14:43:06 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/RHBA-2016-1936.html