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 1116069

Summary: Additional repositories defined in activation key aren't enabled by subscription-manager at registration
Product: Red Hat Satellite Reporter: Stephen Benjamin <stbenjam>
Component: Content ManagementAssignee: Christine Fouant <cfouant>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, bkearney, jhutar, jpazdziora
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-14 18:23:43 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: 1109802    
Bug Blocks:    

Description Stephen Benjamin 2014-07-03 16:34:18 UTC
Description of problem:
Subscription Manager < 1.10 doesn't enable Red Hat repositories that are enabled in the AK other than the default base repo.  This means puppet won't get installed.

Workaround - add this to the end of the "subscription_manager_register" provisioning template: 

# Enable RH Common for Puppet Support
subscription-manager repos --enable rhel-<%= @host.operatingsystem.major -%>-server-rh-common-beta-rpms


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

How reproducible:
Always

Steps to Reproduce:
1.Create a Content View with the RH Common Beta and normal Base repos
2.Publish the CV
3.Assign it to an activation key
4.Set "Override to Yes" for the RH Common Beta product

Actual results:
The RH Common Beta repo is not enabled on the server, puppet doesn't get installed in kickstart %post

Expected results:
The repo is enabled, puppet installed in %post

Additional info:
Allegedly this is due to RHEL 6 having Subscription Manager 1.9.

Comment 1 RHEL Program Management 2014-07-03 17:32:36 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Christine Fouant 2015-01-14 18:23:43 UTC

*** This bug has been marked as a duplicate of bug 1132790 ***