Bug 1555424 - satellite tools repository not enabled with subscription-manager snippet
Summary: satellite tools repository not enabled with subscription-manager snippet
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-14 16:43 UTC by Sebastian Mossberg
Modified: 2018-03-16 15:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-16 15:25:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sebastian Mossberg 2018-03-14 16:43:19 UTC
Description of problem:

It seems that the line enabling the satellite tools repository has been removed with https://bugzilla.redhat.com/show_bug.cgi?id=1433893

Since that line is removed, in many setups this will result in the installation of katello agent failing due to the repository being absent. 

Now, workarounds I see are:
- Enabling the repository by default in the activation key. 
This however is a pain when using auto attach keys where we can't enable any Product Content (see https://access.redhat.com/solutions/3109061 and https://bugzilla.redhat.com/show_bug.cgi?id=1265125)

- Cloning the subscription_manager_register snippet and adding the subscription-manager repos --enable rhel-7-server-satellite-tools-6.3-rpms before the installation of katello-agent.
Update the provisioning templates to use the new snippet.


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


How reproducible:
Always

Steps to Reproduce:
1. Setup satellite with defaults, creating Content Views and activation keys using auto attach for RHEL entitlements
2. Provision host using kickstart

Actual results:
katello-agent does not get installed due to the repo not being available.

Expected results:


Additional info:

It looks like this has been an issue before (https://bugzilla.redhat.com/show_bug.cgi?id=1331432)

Comment 1 Sebastian Mossberg 2018-03-14 16:49:27 UTC
Sorry! I see now that https://bugzilla.redhat.com/show_bug.cgi?id=1265125 has been resolved and you can enable repos on auto attach keys. So it is possible to use keys alone to enable it.


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