Failed to synchronize cache for repos for RHEL 8

Latest response

When I run dnf repolist on rhel 8 enabled machine I see the following error "Failed to synchronize cache for repo" as seen below:

dnf repolist

Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 649 B/s | 224 B 00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 635 B/s | 224 B 00:00
Red Hat Enterprise Linux 8 for x86_64 - Supplementary (RPMs) 623 B/s | 224 B 00:00

Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-supplementary-rpms', ignoring this repo.

Responses

Hey Pavel, All the Centos 8 client fails to get to a Centos8 content on the satellite.

[root@usrelesxvcl67 ~]# yum update Updating Subscription Management repositories. CentOS 8 Base RPMS 1.2 kB/s | 254 B 00:00 Errors during downloading metadata for repository 'sbi_CentOS_8_Linux_for_x86_64_CentOS_8_Base_RPMS': - Status code: 500 for https://usrelrhvvcl15.nafta.syngenta.org/pulp/repos/sbi/Prod/Centos8_cv/custom/CentOS_8_Linux_for_x86_64/CentOS_8_Base_RPMS/repodata/repomd.xml (IP: 168.246.15.129) Error: Failed to download metadata for repo 'sbi_CentOS_8_Linux_for_x86_64_CentOS_8_Base_RPMS': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried [root@usrelesxvcl67 ~]#

cat foreman-ssl_access_ssl.log

172.20.57.67 - - [20/Apr/2021:13:22:18 -0400] "GET /pulp/repos/sbi/Prod/Centos8_cv/custom/CentOS_8_Linux_for_x86_64/CentOS_8_Base_RPMS/repodata/repomd.xml HTTP/1.1" 500 254 "-" "libdnf (CentOS Linux 8; generic; Linux.x86_64)" 172.20.57.67 - - [20/Apr/2021:13:22:18 -0400] "GET /pulp/repos/sbi/Prod/Centos8_cv/custom/CentOS_8_Linux_for_x86_64/CentOS_8_Base_RPMS/repodata/repomd.xml HTTP/1.1" 500 254 "-" "libdnf (CentOS Linux 8; generic; Linux.x86_64)" 172.20.57.67 - - [20/Apr/2021:13:22:18 -0400] "GET /pulp/repos/sbi/Prod/Centos8_cv/custom/CentOS_8_Linux_for_x86_64/CentOS_8_Base_RPMS/repodata/repomd.xml HTTP/1.1" 500 254 "-" "libdnf (CentOS Linux 8; generic; Linux.x86_64)" 172.20.57.67 - - [20/Apr/2021:13:22:18 -0400] "GET /pulp/repos/sbi/Prod/Centos8_cv/custom/CentOS_8_Linux_for_x86_64/CentOS_8_Base_RPMS/repodata/repomd.xml HTTP/1.1" 500 254 "-" "libdnf (CentOS Linux 8; generic; Linux.x86_64)" 172.20.57.67 - - [20/Apr/2021:13:31:47 -0400] "GET /rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/certificates/serials HTTP/1.1" 200 32 "-" "RHSM/1.0 (cmd=yum)" 172.20.57.67 - - [20/Apr/2021:13:31:47 -0400] "GET /rhsm/status HTTP/1.1" 200 401 "-" "RHSM/1.0 (cmd=yum)" 172.20.57.67 - - [20/Apr/2021:13:31:47 -0400] "GET /rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/content_overrides HTTP/1.1" 200 158 "-" "RHSM/1.0 (cmd=yum)" 172.20.57.67 - - [20/Apr/2021:13:31:52 -0400] "GET /rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/certificates/serials HTTP/1.1" 200 32 "-" "RHSM/1.0 (cmd=yum)" 172.20.57.67 - - [20/Apr/2021:13:31:53 -0400] "GET /rhsm/status HTTP/1.1" 200 401 "-" "RHSM/1.0 (cmd=yum)" 172.20.57.67 - - [20/Apr/2021:13:31:53 -0400] "GET /rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/content_overrides HTTP/1.1" 200 158 "-" "RHSM/1.0 (cmd=yum)

[root@usrelrhvvcl15 foreman]# cat production.log | grep -i 172.20.57.67 2021-04-20T03:36:41 [I|app|387986da] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 03:36:41 -0400 2021-04-20T04:37:41 [I|app|18e4a003] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 04:37:41 -0400 2021-04-20T05:38:31 [I|app|81bb9e9b] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 05:38:31 -0400 2021-04-20T06:38:42 [I|app|6a4bd868] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 06:38:42 -0400 2021-04-20T07:39:41 [I|app|99f679e6] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 07:39:41 -0400 2021-04-20T08:40:41 [I|app|7b532166] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 08:40:41 -0400 2021-04-20T09:41:31 [I|app|e45a735b] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 09:41:31 -0400 2021-04-20T10:41:41 [I|app|ce905e9e] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 10:41:41 -0400 2021-04-20T11:42:41 [I|app|07bccfaa] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 11:42:41 -0400 2021-04-20T12:43:41 [I|app|625a1f85] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 12:43:41 -0400 2021-04-20T13:11:04 [I|app|b1ad91de] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 13:11:04 -0400 2021-04-20T13:11:16 [I|app|7fa9677d] Started POST "/rhsm/consumers?owner=sbi&activation_keys=ak_CENTOS8_CV_Prod" for 172.20.57.67 at 2021-04-20 13:11:16 -0400 2021-04-20T13:11:22 [I|app|bc78b995] Started GET "/rhsm/" for 172.20.57.67 at 2021-04-20 13:11:22 -0400 2021-04-20T13:11:22 [I|app|24d311c7] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 13:11:22 -0400 2021-04-20T13:11:23 [I|app|4d954f30] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/certificates/serials" for 172.20.57.67 at 2021-04-20 13:11:23 -0400 2021-04-20T13:11:23 [I|app|a42f71bf] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/certificates?serials=8068213476877319896" for 172.20.57.67 at 2021-04-20 13:11:23 -0400 2021-04-20T13:11:23 [I|app|3cf403a6] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 13:11:23 -0400 2021-04-20T13:11:23 [I|app|19b60808] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/content_overrides" for 172.20.57.67 at 2021-04-20 13:11:23 -0400 2021-04-20T13:11:24 [I|app|3b8d192f] Started PUT "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/profiles" for 172.20.57.67 at 2021-04-20 13:11:24 -0400 2021-04-20T13:11:24 [I|app|54cb2006] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/compliance" for 172.20.57.67 at 2021-04-20 13:11:24 -0400 2021-04-20T13:11:24 [I|app|4c58f9ca] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/owner" for 172.20.57.67 at 2021-04-20 13:11:24 -0400 2021-04-20T13:11:24 [I|app|6d26ca8f] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523" for 172.20.57.67 at 2021-04-20 13:11:24 -0400 2021-04-20T13:11:30 [I|app|5b7b7860] Started GET "/rhsm/consumers/99df57ea-bbea-4031-bd12-cf3f17a7a523/certificates/serials" for 172.20.57.67 at 2021-04-20 13:11:30 -0400 2021-04-20T13:11:30 [I|app|0f90854c] Started GET "/rhsm/status" for 172.20.57.67 at 2021-04-20 13:11:30 -0400

Pages