Bug 1321647 - Virtual machines lost in satellite after updating rhev-hosts
Summary: Virtual machines lost in satellite after updating rhev-hosts
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Client
Version: 570
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-28 18:25 UTC by Ash Westbrook
Modified: 2019-11-14 07:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-20 14:50:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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