Bug 1328485

Summary: Host Arch and OS shows invalid Count on re-registering of content hosts
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, jcallaha, kbidarka, tbrisker
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sanket Jagtap 2016-04-19 13:41:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Register a machine as content host to satellite 6 using activation key
2. Check the count of hosts in Host-> architectures in Web UI
3. Unregister the same content host machine
4. Delete the host from satellite 6.
5. Re-register the machine as content host using activation key
6. Check the count of hosts in Host-> architectures in Web UI , it would be incremented by 2. 

   Also, Same happens with Host-> Operating system Count.  

Actual results:
Incremented by 2 on addition of content host , Decremented by 1 on re-registering content host

Expected results:
Count should decrement as well as increment by 1 on re-registering content host

Additional info:

Comment 2 Tomer Brisker 2016-12-06 16:19:07 UTC
Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1341338 should also resolve this issue. Setting target to match and moving to ON_QA for verification.

Comment 3 jcallaha 2016-12-12 14:47:30 UTC
Verified in Satellite 6.2.5 Snap 3

Followed the steps outlined in the original report. 

After registering the host, the architecture count increased from 970 to 971.
After unregistering and deleting the host, the count dropped back to 970.
After re-registering the count rose again to 971.

Comment 4 Bryan Kearney 2016-12-12 18:48:23 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/RHBA-2016:2940

Comment 5 Bryan Kearney 2016-12-12 18:48:24 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/RHBA-2016:2940