Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1372826

Summary: Activation Key returning all systems under associations tab
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: Activation KeysAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: aagrawal, abalakht, aladke, arahaman, bbuckingham, cdonnell, chrobert, ggatward, gkonda, jcallaha, ktordeur, mlinden, sreber, xdmoon, zhunting
Target Milestone: UnspecifiedKeywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
URL: http://projects.theforeman.org/issues/15347
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.0.0.86 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1394388 (view as bug list) Environment:
Last Closed: 2016-12-12 17:13:28 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:
Bug Depends On:    
Bug Blocks: 1385841, 1394388    
Attachments:
Description Flags
verification screenshot none

Description Pavel Moravec 2016-09-02 19:37:51 UTC
Description of problem:
Please backport http://projects.theforeman.org/issues/15347 - WebUI shows any activation key is associated with each and every Content Host registered.


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


How reproducible:
100%


Steps to Reproduce:
1. register some Content Hosts
2. Create any activation key
3. Click to the AK -> Associations -> Content Hosts


Actual results:
List of all Content Hosts is shown.


Expected results:
Just Content Hosts activated via the AK shall be listed.


Additional info:

Comment 1 Bryan Kearney 2016-09-02 20:19:00 UTC
Upstream bug assigned to jomitsch

Comment 2 Bryan Kearney 2016-09-02 20:19:03 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15347 has been resolved.

Comment 6 jcallaha 2016-11-30 21:39:36 UTC
Verified in Satellite 6.2.5

Activation Key associations no longer show all hosts, now correctly filter to only those that are aligned with the key. See attached screenshot for verification.

Comment 7 jcallaha 2016-11-30 21:40:37 UTC
Created attachment 1226513 [details]
verification screenshot

Comment 8 errata-xmlrpc 2016-12-12 17:13:28 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 9 Justin Sherrill 2016-12-19 21:11:04 UTC
*** Bug 1396911 has been marked as a duplicate of this bug. ***

Comment 11 Craig Donnelly 2017-01-19 23:51:30 UTC
Ashfaqur,

I am going to clear the needinfo here and move this issue to another bug since the primary problem here was resolved with an errata already and these columns dont break the primary purpose of the list.

New BZ is here: https://bugzilla.redhat.com/show_bug.cgi?id=1415009

Thanks.