Bug 1323768 - New Host Group form ignores selected Content View and shows all available ActivationKeys
Summary: New Host Group form ignores selected Content View and shows all available Act...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 16:08 UTC by Og Maciel
Modified: 2019-09-26 16:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:08:12 UTC
Target Upstream Version:


Attachments (Terms of Use)
ActivationKeys (209.67 KB, image/png)
2016-04-04 16:10 UTC, Og Maciel
no flags Details
Host Group form (139.62 KB, image/png)
2016-04-04 16:11 UTC, Og Maciel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14804 0 Normal Closed New Host Group form ignores selected Content View and shows all available ActivationKeys 2020-06-30 17:19:47 UTC

Description Og Maciel 2016-04-04 16:08:46 UTC
Description of problem:

I noticed that when you create a new Host Group, all activationkeys are being displayed, independent of which Content View is selected.

Assuming you have:

* Content View 1
  * ActivationKey 1
* ContentView 2
  * ActivationKey 2

If you select Content View 1 when filing out the new Host Group form, you should only see ActivationKey 1 as your only choice

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

* Satellite 6.2.0 SNAP 6.1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Og Maciel 2016-04-04 16:10:40 UTC
Created attachment 1143387 [details]
ActivationKeys

This screenshot shows that I have 2 screenshots, each associated to the same Lifecycle Environment (DEV) but different (published) Content Views.

Comment 2 Og Maciel 2016-04-04 16:11:51 UTC
Created attachment 1143389 [details]
Host Group form

This screenshot shows that 2 activationkeys are available to my Host Group but only one of them should be listed.

Comment 4 Brad Buckingham 2016-04-21 20:46:38 UTC
WORKAROUND: 

Select from the list of activation keys, one that has the same Lifecycle Environment and Content View as the host group being created.

Comment 5 John Mitsch 2016-04-25 18:58:17 UTC
Created redmine issue http://projects.theforeman.org/issues/14804 from this bug

Comment 6 Bryan Kearney 2016-04-25 20:18:35 UTC
Upstream bug component is Content Management

Comment 7 Bryan Kearney 2016-04-28 16:16:19 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14804 has been closed

Comment 8 Roman Plevka 2016-05-25 10:43:25 UTC
VERIFIED:

on sat6.2.0 Beta (GA12.1)
the activation keys now correctly suggest only the appropriate values.
tested with the same setup as stated in the description.

Comment 9 Bryan Kearney 2016-07-27 11:08:12 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


Note You need to log in before you can comment on or make changes to this bug.