ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
129 stars 152 forks source link

Errors during downloading metadata for repository 'baseos': #194

Closed gannaramu closed 1 year ago

gannaramu commented 1 year ago

Hello, we are running into the following issue while building over the ansible/awx-ee:latest image

FROM  quay.io/ansible/awx-ee:latest

USER root

RUN yum update -y && yum -y install jq python3 wget

USER 1000
 > [2/7] RUN yum update -y && yum -y install jq python3 wget:                                                                                                                                                                                                 
#4 5.341 CentOS Stream 9 - BaseOS                        1.1 kB/s | 3.9 kB     00:03                                                                                                                                                                          
#4 5.344 Errors during downloading metadata for repository 'baseos':                                                                                                                                                                                          
#4 5.344   - Downloading successful, but checksum doesn't match. Calculated: 67f0fad4fe457471c91c70a50245e5700a98c4b49d509d35a8b6643eed55e789b3afb5ced888da13b63a3bdfd122e7aecc8b6c485a9dedcd1afca23cf81fa288(sha512)  Expected: 60642857dc1e825a77340c6ffe13eb4c84f0c3c1972dd4dfc7ab8e00c6b1980f63a5d331bd97f5a9808466c657325a10631840267e80cfb5a87b1adb28d52947(sha512) 
#4 5.376 Error: Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

also seen in https://github.com/ansible/awx-ee/actions/runs/4613503885/jobs/8155547631

mueller-tobias commented 1 year ago

We've the same issue. Yesterday the pipeline was running fine now we get the same error as @gannaramu. We also use the AWX-EE Base Image and add additional packages.

relrod commented 1 year ago

This is an upstream centos stream issue, not an awx-ee issue.

[rick@fedora awx-ee]$ docker pull quay.io/centos/centos:stream9
stream9: Pulling from centos/centos
Digest: sha256:a6b9d6d4acfcf98770e925552da4010bbc5da60f8545883cf5842aba79270a78
Status: Image is up to date for quay.io/centos/centos:stream9
quay.io/centos/centos:stream9
[rick@fedora awx-ee]$ docker run  -it --rm quay.io/centos/centos:stream9 bash
[root@00a2c9e74644 /]# dnf update
CentOS Stream 9 - BaseOS                                                                                                                                                                                                                                                                      237  B/s | 3.9 kB     00:16    
Errors during downloading metadata for repository 'baseos':
  - Downloading successful, but checksum doesn't match. Calculated: 67f0fad4fe457471c91c70a50245e5700a98c4b49d509d35a8b6643eed55e789b3afb5ced888da13b63a3bdfd122e7aecc8b6c485a9dedcd1afca23cf81fa288(sha512)  Expected: 60642857dc1e825a77340c6ffe13eb4c84f0c3c1972dd4dfc7ab8e00c6b1980f63a5d331bd97f5a9808466c657325a10631840267e80cfb5a87b1adb28d52947(sha512) 
Error: Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@00a2c9e74644 /]# 
relrod commented 1 year ago

Given that, I'm going to close this. It should resolve itself whenever the upstream mirrors do.

gannaramu commented 1 year ago

@relrod thanks for the info seems to be resolved now.