A Red Hat repository enabled on the upstream Satellite server could not be enabled on the downstream Satellite server
Environment
- Red Hat Satellite 6.16
- Inter-Satellite Synchronization (ISS)
Issue
- Trying to enable a Red Hat repository on a downstream Satellite server, it shows
No repositories available, even though the repository was successfully enabled and sync'd to the upstream Satellite server.
Resolution
- On the downstream Satellite Server, run the following command to download
http://upstream-satellite.example.com/pub/katello-server-ca.crt:
# wget -P ~ http://upstream-satellite.example.com/pub/katello-server-ca.crt
Replace upstream-satellite.example.com in the above URL with the FQDN of the upstream Satellite server.
- Import the SSL certificate of the upstream Satellite Server (downloaded to the downstream Satellite server in the previous step), by running the following command on the downstream Satellite:
# hammer content-credential create \
--content-type cert \
--name "My_SSL_Certificate" \
--organization "My_Organization" \
--path ~/katello-server-ca.crt
Replace My_SSL_Certificate and My_Organization with appropriate values that match you environment.
- Apply the steps outlined under the Procedure sub-section of the 3.2.3. Configuring Satellite Server to synchronize content over a network section of the Red Hat Satellite 6.16 documentation.
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.
Root Cause
The upstream and downstream Satellite servers had their custom SSL certificates renewed, after which the SSL certificate of the upstream Satellite Server was not imported into the downstream Satellite server for use as a SSL CA Content Credential in the CDN configuration of the downstream Satellite, as per the Procedure sub-section in 3.2.3. Configuring Satellite Server to synchronize content over a network.
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.