I registered a RHEL 7 Workstation host (here 'cojotv2') to a Satellite Server running sat 6.2.12 and I was surprised that it showed as 'RHEL Server 7.4' in the host list. Here's more information: Client: [root@cojotv2 ~]# uname -a Linux cojotv2 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux [root@cojotv2 ~]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: RedHatEnterpriseWorkstation Description: Red Hat Enterprise Linux Workstation release 7.4 (Maipo) Release: 7.4 Codename: Maipo [root@cojotv2 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Workstation release 7.4 (Maipo) [root@cojotv2 ~]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Workstation Product ID: 71 Version: 7.4 Arch: x86_64 Status: Subscribed Status Details: Starts: 09/22/2017 Ends: 09/21/2018 [root@cojotv2 ~]# yum repolist Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager, verify repo id repo name status !rhel-7-workstation-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Workstation - Extras (RPMs) 34 !rhel-7-workstation-optional-rpms/7Workstation/x86_64 Red Hat Enterprise Linux 7 Workstation - Optional (RPMs) 11,770 !rhel-7-workstation-rh-common-rpms/7Workstation/x86_64 Red Hat Enterprise Linux 7 Workstation - RH Common (RPMs) 198 !rhel-7-workstation-rpms/7Workstation/x86_64 Red Hat Enterprise Linux 7 Workstation (RPMs) 18,165 !rhel-7-workstation-satellite-tools-6.2-rpms/x86_64 Red Hat Satellite Tools 6.2 (for RHEL 7 Workstation) (RPMs) 132 !rhel-7-workstation-supplementary-rpms/7Workstation/x86_64 Red Hat Enterprise Linux 7 Workstation - Supplementary (RPMs) 222 !rhel-7-workstation-thirdparty-oracle-java-rpms/7Workstation/x86_64 Red Hat Enterprise Linux 7 Workstation - Oracle Java (RPMs) 306 repolist: 30,827 Uploading Enabled Repositories Report Loaded plugins: product-id
Host (cojotv2) was registered like this: subscription-manager repos --disable=\* rpm -Uvh http://sat6/pub/katello-ca-consumer-latest.noarch.rpm subscription-manager register --org="Krynn" --activationkey="el7s" subscription-manager repos --enable=\* yum install -y katello-agent
But on the satellite server, the client shows up as: [root@sat6 ~]# hammer host list --search cojotv2 ---|---------|------------------|------------|----|---- ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC ---|---------|------------------|------------|----|---- 6 | cojotv2 | RHEL Server 7.4 | | | ---|---------|------------------|------------|----|----
[root@sat6 ~]# rpm -q satellite-6.2.12-5.0.el7sat.noarch satellite-6.2.12-5.0.el7sat.noarch
[root@cojotv2 ~]# ls -l /etc/pki/product total 0 [root@cojotv2 ~]# ls -l /etc/pki/product-default total 4 -rw-r--r--. 1 root root 2171 Jun 28 14:43 71.pem
[root@cojotv2 ~]# rct cat-cert /etc/pki/product-default/71.pem |grep -A10 Product: Product: ID: 71 Name: Red Hat Enterprise Linux Workstation Version: 7.4 Arch: x86_64 Tags: rhel-7,rhel-7-workstation Brand Type: Brand Name:
Hi Vincent, Thanks for opening the bugzilla. Looking over the details, it looks like the behavior you are seeing is consistent with with bug 1429033. The scenario is different (provision vs register); however, the general cause is in how the operating systems are created and associated with the host. Any objection to marking this one as a duplicate so that we can track the issue with single bugzilla?
Hi Brad, I have no objection to marking this BZ as a duplicate. I'll subscribe to the other BZ and close mine. Thanks, Vincent
*** This bug has been marked as a duplicate of bug 1429033 ***