Red Hat Bugzilla – Bug 1168061
Moving Satellite from one OS to another OS causes operatingsystem < 0
Last modified: 2017-02-23 15:46:28 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:
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.
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
This bug is slated to be released with Satellite 6.1.
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