Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1497329 - el7.4 workstations show up as 'el7.4 servers' in Sat 6.2.x
Summary: el7.4 workstations show up as 'el7.4 servers' in Sat 6.2.x
Keywords:
Status: CLOSED DUPLICATE of bug 1429033
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts
Version: 6.2.12
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-29 19:39 UTC by Vincent S. Cojot
Modified: 2019-09-18 23:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-04 19:51:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vincent S. Cojot 2017-09-29 19:39:17 UTC
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

Comment 1 Vincent S. Cojot 2017-09-29 19:40:59 UTC
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

Comment 2 Vincent S. Cojot 2017-09-29 19:42:05 UTC
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  |            |    |    
---|---------|------------------|------------|----|----

Comment 3 Vincent S. Cojot 2017-09-29 19:42:59 UTC
[root@sat6 ~]# rpm -q satellite-6.2.12-5.0.el7sat.noarch
satellite-6.2.12-5.0.el7sat.noarch

Comment 4 Vincent S. Cojot 2017-09-29 20:09:32 UTC
[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

Comment 5 Vincent S. Cojot 2017-09-29 20:12:09 UTC
[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:

Comment 7 Brad Buckingham 2017-10-04 18:45:48 UTC
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?

Comment 8 Vincent S. Cojot 2017-10-04 19:50:42 UTC
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

Comment 9 Vincent S. Cojot 2017-10-04 19:51:12 UTC

*** This bug has been marked as a duplicate of bug 1429033 ***


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