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 1168061 - Moving Satellite from one OS to another OS causes operatingsystem < 0
Summary: Moving Satellite from one OS to another OS causes operatingsystem < 0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Tomer Brisker
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On: 1128069 1201213
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-26 01:29 UTC by David Joo
Modified: 2018-12-09 19:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:19:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot (73.43 KB, image/png)
2014-11-26 01:29 UTC, David Joo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description David Joo 2014-11-26 01:29:41 UTC
Created attachment 961439 [details]
Screenshot

Description of problem:
When you move the satellite host, that gets automatically registered to Satellite 6, to another Operating System, this will cause host count in Operating System to go < 0.


Version-Release number of selected component (if applicable):
Satellite 6.0.6
foreman-1.6.0.49-1.el6sat.noarch
katello-1.5.0-30.el6sat.noarch


How reproducible:
Every time


Steps to Reproduce:
1. Install Satellite 6, and upgrade to latest and greatest
2. Wait until the Host that runs satellite 6 registers itself to the Satellite
3. Move the Satellite from one OS to another using "All Host" - > "Choose Satellite 6 host" -> "Manage Host" -> "Operating System" -> Change to whatever you want.

Actual results:

This will cause -1 on the automatically registered OS, then put +2 on OS that you moved Satellite to.


Expected results:
-1 on the automatically registered OS, then put +1 on OS that you moved the satellite to.


Additional info:

Comment 1 RHEL Program Management 2014-11-26 01:33:37 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Og Maciel 2015-05-21 21:13:59 UTC
Ok, so here's how I verified this BZ:

* I had a Satellite 6.1 system installed on RHEL 6.6
* I synchronized Red Hat content for RHEL 6Server and 7Server
* Created content views for each OS version, added corresponding repositories, published and promoted to Library+1 lifecycle environment
* Created activation keys for each content view
* I manually registered and subscribed my satellite using the activation key for RHEL 6Server content
* I then used the web UI to select the satellite system from the Hosts > All hosts menu
* Clicked the Edit button
* Clicked the Manage button
* Selected RHEL 7.1 as my OS (and other attributes related to the OS, such as Media, etc)
* Saved

I then browsed the Operating Systems page and saw that the number of hosts listed under RHEL 7.1 had gone up by +1 and the by -1 for RHEL 6.6

Comment 7 Bryan Kearney 2015-08-11 13:37:15 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 errata-xmlrpc 2015-08-12 05:19:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592


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