Bug 1333303

Summary: "Content Host Counts" column on the Errata page should only count hosts in that org
Product: Red Hat Satellite Reporter: Sean O'Keeffe <sokeeffe>
Component: Organizations and LocationsAssignee: Tom McKay <tomckay>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, cwelton, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.43-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:39:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
in testorg applicable erata shows conten-host count 1 for lvm2 bugfix
none
in default org applicable erata shows conten-host count 1 for lvm2 bugfix none

Description Sean O'Keeffe 2016-05-05 09:03:25 UTC
Description of problem:
The "Content Host Counts" column counts all hosts, when a user clicks through to install an erratum it will only display the hosts in the current org. 

This can be confusing for a user as the numbers don't match.

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


How reproducible:
100%

Steps to Reproduce:
1.create 2 orgs
2.register 1 content host to each org (make sure they both require updates)
3.go Content -> Errata. The "Content Host Counts" column will show 2 instead of the 1 in that Org.

Actual results:
"Content Host Counts" counts hosts not in the current org 

Expected results:
Only show hosts in the current org

Additional info:

Comment 1 Sean O'Keeffe 2016-05-05 09:08:19 UTC
Create redmine issue: http://projects.theforeman.org/issues/14933

Comment 3 Bryan Kearney 2016-06-01 18:16:09 UTC
Upstream bug assigned to tomckay

Comment 4 Bryan Kearney 2016-06-01 18:16:11 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14933 has been closed

Comment 5 Sean O'Keeffe 2016-06-01 21:24:09 UTC
(In reply to Bryan Kearney from comment #3)
> Upstream bug assigned to tomckay

Upstream bug shouldn't have been signed to tomckay, that was a mistake then i raised it. It should have been assigned to me.

Comment 6 Sachin Ghai 2016-06-29 10:36:05 UTC
Verified sat62 GA snap17.

Now "content host Counts" column on Errata page only count hosts in selected org.

Steps taken to verify:

created two hosts, one in default and other in testorg (both requires update) and I can see content-host count '1' in each org

Comment 7 Sachin Ghai 2016-06-29 10:37:13 UTC
Created attachment 1173766 [details]
in testorg applicable erata shows conten-host count 1 for lvm2 bugfix

Comment 8 Sachin Ghai 2016-06-29 10:37:48 UTC
Created attachment 1173767 [details]
in default org applicable erata shows conten-host count 1 for lvm2 bugfix

Comment 9 Bryan Kearney 2016-07-27 11:39:26 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:1501