Bug 1265125 - [RFE] Allow activation keys to enable product repos regardless of whether there is a subscription attached or not
[RFE] Allow activation keys to enable product repos regardless of whether the...
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Activation Keys (Show other bugs)
All Linux
high Severity high (vote)
: Beta
: --
Assigned To: Tom McKay
Bruno Rocha
: FutureFeature, PrioBumpGSS, Triaged
Depends On:
Blocks: 1479962
  Show dependency treegraph
Reported: 2015-09-22 04:00 EDT by Kenny Tordeurs
Modified: 2018-02-21 07:32 EST (History)
35 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-02-21 07:32:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 16574 None None None 2016-09-15 15:28 EDT

  None (edit)
Comment 19 Justin Sherrill 2016-01-20 15:13:19 EST
Note there is a workaround for this:

1) Create two activation keys  Key "A" and Key "B", assign them both to the same lifecycle environment and content view
2) Assign no subscriptions to Key A
3) Assign a VDC subscription or some other subscription to Key B that provides content.  This subscription does not even need to have any free entitlements available
4) Adjust the enabled content on Key B
5) Register a client with  --activationkeys=A,B

The guest will use Key A to auto heal itself grabbing the guest subscription and then use Key B to grab the list of enabled repos.
Comment 20 Bryan Kearney 2016-07-08 16:19:58 EDT
Per 6.3 planning, moving out non acked bugs to the backlog
Comment 22 Tom McKay 2016-09-15 15:27:56 EDT
Created redmine issue http://projects.theforeman.org/issues/16574 from this bug
Comment 23 Bryan Kearney 2016-09-15 16:10:58 EDT
Upstream bug component is Content Management
Comment 24 Bryan Kearney 2016-09-21 14:10:06 EDT
Upstream bug component is Activation Keys
Comment 25 Sean O'Keeffe 2016-09-29 05:27:59 EDT
Another way to workaround this is to add a sub to the activation key then enable/disable Product Content and then remove the sub from the activation key, this will still mean the options you set under Product Content will still be there you just can't change them unless you have a subscription attached to the activation key.
Comment 27 Julio Entrena Perez 2016-11-01 12:14:38 EDT
Workaround in comment 25 seems to work, thank you Sean!
Comment 40 Bruno Rocha 2017-11-02 14:17:39 EDT
Addressed by Organization Level Content Access

Comment 46 errata-xmlrpc 2018-02-21 07:32:18 EST
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.


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