Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1168061 - Moving Satellite from one OS to another OS causes operatingsystem < 0
Moving Satellite from one OS to another OS causes operatingsystem < 0
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
Unspecified
x86_64 Linux
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: Tomer Brisker
Og Maciel
: Triaged
Depends On: 1128069 1201213
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-25 20:29 EST by David Joo
Modified: 2017-02-23 15:46 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:19:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screenshot (73.43 KB, image/png)
2014-11-25 20:29 EST, David Joo
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description David Joo 2014-11-25 20:29:41 EST
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 Product and Program Management 2014-11-25 20:33:37 EST
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 17:13:59 EDT
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 09:37:15 EDT
This bug is slated to be released with Satellite 6.1.
Comment 8 errata-xmlrpc 2015-08-12 01:19:59 EDT
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.