[Satellite 6.x] How to enable repositories newly added to an activation key on all content hosts associated with that key?
Environment
- Red Hat Satellite 6.12
Issue
When an activation key is updated with a new repository or group of repositories, this change is not reflected on the content hosts already registered using this activation key. We need to update the already registered content hosts with the newly added repository so that we have the repository enabled by default on those content hosts. The new repository has been added to the content-view associated with the hosts, and a new version of the content-view has been published and promoted.
How can we achieve this?
Resolution
This content is not included.Bug 2179384 - [RFE] Add the option to enable newly added repositories to an activation key on all content hosts associated with that key has been raised to implement this feature in future releases of Red Hat Satellite.
Workround:
- Login to the Satellite's web UI, and navigate to Hosts -> Content Hosts.
- Select the hosts you want to add and enable the new repository on.
- Select Manage Repository Sets from the drop-down Select Action menu on the top right.
- Select the repository from the list, and enable it from the Select Action drop down menu.
- Run the following command on the hosts to reflect the change:
# subscription-manager refresh
Note: This can be run on multiple hosts via remote execution.
For more KB articles/solutions related to Red Hat Satellite 6.x Repository Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Repository Issues.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.