Closed piaoxue1949 closed 1 year ago
[root@k8s-master awx]# curl https://mirrors.centos.org
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://mirrors.centos.org/publiclist/">here</a>.</p>
<hr>
<address>Apache Server at mirrors.centos.org Port 443</address>
</body></html>
[root@k8s-master awx]# docker run -it --rm quay.io/centos/centos:stream9 curl https://mirrors.centos.org
curl: (6) getaddrinfo() thread failed to start
I'm assuming something broke on the centos side of things. It should resolve itself, if it hasn't already. We can leave this issue open until someone confirms.
@piaoxue1949
The latest centos:stream9
works on my side.
If your issue persists after re-pulling the image, simply there might be issues around your Docker network and/or name resolution in contianers (and if so this is not AWX issue).
$ docker rmi quay.io/centos/centos:stream9
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/centos/centos stream9 047d6e0a5993 3 weeks ago 155MB
$ docker run -it --rm quay.io/centos/centos:stream9 curl https://mirrors.centos.org
Unable to find image 'quay.io/centos/centos:stream9' locally
stream9: Pulling from centos/centos
fb45a2dfc12a: Pull complete
Digest: sha256:4d72ac09d6e816b7b2625ce84b73eda477efef8aeaae881c372cd84c611df383
Status: Downloaded newer image for quay.io/centos/centos:stream9
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://mirrors.centos.org/publiclist/">here</a>.</p>
<hr>
<address>Apache Server at mirrors.centos.org Port 443</address>
</body></html>
@piaoxue1949
Thank you very much for for this issue. It means a lot to us that you have taken time to contribute by opening this report.
On this issue, there were comments added but it has been some time since then without response. At this time we are closing this issue. If you get time to address the comments we can reopen the issue if you can contact us by using any of the communication methods listed in the page below:
https://github.com/ansible/awx/#get-involved
Thank you once again for this and your interest in AWX!
Please confirm the following
Bug Summary
When using Docker to install, the centos: steam9 image cannot install the package and resolve the domain name. An error is reported: Curl error (6): Couldn't resolve host name for https://mirrors.centos.org/metalink?repo=centos -baseos-9-stream&arch=x86_ 64&protocol=https,http [getaddrinfo() thread failed to start]
AWX version
21.7.0
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
ansible 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Jun 28 2022, 15:30:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Operating system
CentOS Linux release 7.9.2009 (Core)
Web browser
No response
Steps to reproduce
git clone https://github.com/ansible/awx.git cd awx git checkout 21.7.0 make docker-compose-build
Expected results
make success
Actual results
Additional information