문제 및 증상:
[root@XXX ~]# yum install python-pip
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink | 16 kB 00:00:00
epel | 5.3 kB 00:00:00
https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 12] Timeout on https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 12] Timeout on https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 12] Timeout on https://XXX/pulp/repos/BMO_Org_01/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: (28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')
Trying other mirror.
위 출력에서 내 컴퓨터 이름을 "XXX"로 바꿨습니다.
다른 리포지토리를 시도할 때 계속해서 비슷한 로그가 출력됩니다.
내 컴퓨터가 프록시를 통해 인터넷에 액세스할 수 있는 것 같습니다.
[root@TBRISCCLPRAPP05 ~]# nslookup google.com
Server: 10.254.90.97
Address: 10.254.90.97#53
Non-authoritative answer:
Name: google.com
Address: 172.217.164.206
Name: google.com
Address: 2607:f8b0:400b:80f::200e
적절한 HTTP_PROXY 및 HTTPS_PROXY 환경 변수를 내보냈습니다.
기계 정보:
NAME="Red Hat Enterprise Linux Server"
VERSION="7.7 (Maipo)"
ID="rhel"
ID_LIKE="fedora"