Bug 1321647

Summary: Virtual machines lost in satellite after updating rhev-hosts
Product: Red Hat Satellite 5 Reporter: Ash Westbrook <awestbro>
Component: ClientAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 570CC: dconsoli, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-20 14:50:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ash Westbrook 2016-03-28 18:25:51 UTC
Description of problem:


After updating two RHEV on RHEL hosts from RHEL6 to RHEL7 (and without reinstalling rhn-virtualization-host), the virtual machines hosted on those hosts were removed from satellite and not by the Admin user.


Version-Release number of selected component (if applicable):

Satellite 5.7 on RHEL 6 with embedded postgres

How reproducible:

Reproducer can be found here:

"ssh -i ~/id_rsa.01601017 -p 22122 ark-router.mine.nu" drops you straight in as root if you use IPv4. IPv6 would connect to 2001:16d8:ff00:851e:21a:4aff:fe16:151 on port 22.

it's Sat 5.7 and SCL Postgres, you need to do

[root@v2sat57el6 ~]# scl enable postgresql92 bash
[root@v2sat57el6 ~]# psql rhnschema rhnuser
Password for user rhnuser:
psql (9.2.10)
Type "help" for help.

rhnschema=#

to get to the DB itself.

Steps to Reproduce:
1. RHEV-H are reinstalled via kickstart from RHEL 6 to RHEL 7
2. Kickstart registers the new RHEV-Hs with rhnreg_ks:
    rhnreg_ks --serverUrl=https://<satellite>/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=$key,re-1-2955cef754ca47deef265068d41f910d,1-rhel7-conti-base-key,1-rhel7-conti-virtguest-key
     rhnreg_ks --serverUrl=https://<satellite>/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=re-1-2955cef754ca47deef265068d41f910d,1-rhel7-conti-base-key,1-rhel7-conti-virtguest-key

Actual results:

Guest system profiles on the RHEV-Hs are all dropped from Satellite's DB.


Expected results:

Guest system profiles on the RHEV-Hs should all be picked up as by the Satellite as viable clients.


Additional info:

Attached reports, spacewalk-report-audit-server output and kickstart file.

Comment 8 Tomas Lestach 2017-07-20 14:50:36 UTC
I got no answer for 6 weeks. Based on Comment 7 I'm closing the BZ with INSUFFICIENT_DATA.

Feel free to re-open the BZ if you think this really is a Satellite 5 problem.