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 1212645 - Multiple RHEL7 in Operation System - regression from 6.0.8
Summary: Multiple RHEL7 in Operation System - regression from 6.0.8
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On: 1150434
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-16 21:50 UTC by Mike McCune
Modified: 2019-04-16 14:45 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1150434
Environment:
Last Closed: 2015-05-15 15:15:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Multiple versions of OSes (234.79 KB, image/png)
2015-04-16 21:52 UTC, Og Maciel
no flags Details
List of OSes (78.43 KB, image/png)
2015-05-15 14:53 UTC, Og Maciel
no flags Details

Comment 1 Og Maciel 2015-04-16 21:52:43 UTC
Created attachment 1015396 [details]
Multiple versions of OSes

Comment 2 Mike McCune 2015-04-16 21:53:29 UTC
This appeared to regress from 6.0.8 -> 6.1. Og sees multiple RHEL7 OS entries after syncing.

Comment 4 Bryan Kearney 2015-04-16 22:06:43 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/7621 has been closed
-------------
Justin Sherrill
Applied in changeset commit:katello|7bf74589a76ac5d8295a0aeb2032e4c7fb5fe407.

Comment 7 Justin Sherrill 2015-04-21 18:13:34 UTC
Moving back to NEW, as apparently this 'fix' is already in the beta

Comment 8 Justin Sherrill 2015-05-13 21:31:42 UTC
I have tried to reproduce this on the latest snap syncing:

RHEL 7.0 kickstart
RHEL 7.1 kickstart
RHEL 7Server RPMs
RHEL 7Server Extras
RHEL 7Server Optional
RHEL 7Server Sat 6 tools beta

Are you still able to reproduce og?

Comment 9 Og Maciel 2015-05-15 14:53:35 UTC
Created attachment 1025915 [details]
List of OSes

Hey Justin,

So I gave this issue another crack this morning (using S4C2 build) and I got a mix of 'interesting' results. But first, the steps:

* Enabled Kickstart for:
  * Red Hat Enterprise Linux 5 Server Kickstart i386 5.11
  * Red Hat Enterprise Linux 5 Server Kickstart x86_64 5.11
  * Red Hat Enterprise Linux 6 Server Kickstart i386 6.6
  * Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.6
  * Red Hat Enterprise Linux 7 Server Kickstart x86_64 7.0
  * Red Hat Enterprise Linux 7 Server Kickstart x86_64 7.1
* Enabled the RPMs repositories for all the combinations from above
* Enabled the Satellite Tools channel for all the available combinations as well
* Synchronized only the RHEL 7 channels

As you can see from the attached screenshot:

* when I visit the OS page I see that RHEL 6.6 and RHEL 7.0 and 7.1 are listed but not RHEL 5.11

Question:

* shouldn't I only see RHEL 7.0 and 7.1 since these are the ones I have synchronized?
* if not, then why is RHEL 5.11 'missing'? Possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=1210394 ?

I then created a custom CentOS product with a custom CentOS repo pointing to the URL described in this issue, followed by a sync. I still don't see duplicated entries under the OS page but I also don't see CentOS listed as an available OS. Should I?

Comment 10 Justin Sherrill 2015-05-15 14:58:39 UTC
Og,

So the operating system list will consist of:

Any Operating system of a kickstart tree synced
Any Operating system of a system that has checked in with puppet.

Was this running on a RHEL 6.6 system by chance?

Also Centos will not show up separately from "RedHat" because "RedHat" is the family, and centos is in that family.

Comment 11 Og Maciel 2015-05-15 15:00:48 UTC
Justin, yes, this was run on RHEL 6 and I will also try it on RHEL 7 shortly. Is there a known issue for RHEL 6?

Comment 12 Justin Sherrill 2015-05-15 15:02:14 UTC
No, no known issue.  When a system checks in with puppet, foreman creates an Operating system for it.  The same will happen with satellite running on rhel7.

The redhat 7  os will show up before you even sync because the system running the satellite checks in.

Comment 13 Og Maciel 2015-05-15 15:15:24 UTC
This BZ can now be closed as I can no longer reproduce it using what will become Satellite 6.1 GA.


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