Issue #6320
closedFailed to sync rhel8 baseos repo
Description
We are getting this error message while sync the sync rhel8 baseos repo in my pulp servers.
Error retrieving metadata: Forbidden
Log message of pulp server -
Mar 11 03:52:36 swy01opplppr01 pulp: nectar.downloaders.threaded:INFO: [edd90318] Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os failed with code 403: Forbidden Mar 11 03:52:36 swy01opplppr01 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [edd90318] Downloading metadata from https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/. Mar 11 03:52:36 swy01opplppr01 pulp: urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com Mar 11 03:52:36 swy01opplppr01 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml failed with code 403: Forbidden Mar 11 03:52:37 swy01opplppr01 pulp: urllib3.connectionpool:INFO: [edd90318] Starting new HTTPS connection (1): cdn.redhat.com Mar 11 03:52:37 swy01opplppr01 pulp: nectar.downloaders.threaded:INFO: [edd90318] Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os failed with code 403: Forbidden Mar 11 03:52:37 swy01opplppr01 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [edd90318] Downloading metadata from https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/. Mar 11 03:52:37 swy01opplppr01 pulp: urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com Mar 11 03:52:38 swy01opplppr01 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml failed with code 403: Forbidden Mar 11 03:52:38 swy01opplppr01 pulp: pulp_rpm.plugins.importers.yum.sync:INFO: [edd90318] Downloading additional units. Mar 11 03:52:38 swy01opplppr01 pulp: urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com Mar 11 03:52:38 swy01opplppr01 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/.treeinfo failed with code 404: Not Found Mar 11 03:52:39 swy01opplppr01 pulp: urllib3.connectionpool:INFO: Starting new HTTPS connection (1): cdn.redhat.com Mar 11 03:52:40 swy01opplppr01 pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/treeinfo failed with code 404: Not Found Mar 11 03:52:41 swy01opplppr01 pulp: pulp.server.async.tasks:INFO: [edd90318] Task failed : [edd90318-e8f9-47c6-be0b-4d03cd67db41] : Error retrieving metadata: Forbidden
Related issues
Updated by ttereshc about 4 years ago
Please check that your client cert for RHEL repos is configured correctly and still valid.
Updated by ttereshc about 4 years ago
- Has duplicate Issue #6319: Failed to sync rhel8 baseos repo added
Updated by ggainey about 4 years ago
- Status changed from NEW to CLOSED - NOTABUG
"Download failed: Download of https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml failed with code 403: Forbidden" is definitely caused when the red-hat-entitlement-cert doesn't give you access to the CDN repository you're asking for. You'll need a new entitlement-cert, that 'knows about' RHEL8 repos.
There's nothing for Pulp to do here, closing as NOTABUG.