AWS EC2 インスタンスで、needs-restarting ユーティリティーが "Could not resolve host: rhui3.REGION.aws.ce.redhat.com" エラーで失敗する
Issue
- AWS EC2 インスタンスで、
needs-restartingユーティリティーが "Could not resolve host: rhui3.REGION.aws.ce.redhat.com" エラーで失敗します。 -
/bin/needs-restartingユーティリティーは、AWS EC2 の RHUI リポジトリーへのアクセスに失敗し、さまざまなエラーがスローされます。[root@ip-10-0-0-17 ~]# needs-restarting -s Could not retrieve mirrorlist https://rhui3.REGION.aws.ce.redhat.com/pulp/mirror/protected/rhui-client- config/rhel/server/7/x86_64/os error was 14: curl#6 - "Could not resolve host: rhui3.REGION.aws.ce.redhat.com; Unknown error" Cannot find a valid baseurl for repo: rhui-client-config-server-7/x86_64 [root@ip-10-0-0-17 ~]#[root@ip-10-0-0-17 ~]# needs-restarting -s failure: repodata/aeb68de97a3a74e9d1986e94cce8c01e51fc732f857012b0f5522d7a98bd82d7-filelists.xml.gz from rhui-client-config-server-7: [Errno 256] No more mirrors to try. https://rhui3.us-east-1.aws.ce.redhat.com/pulp/repos/protected/rhui-client-config/rhel/server/7/x86_64/os/repodata/aeb68de97a3a74e9d1986e94cce8c01e51fc732f857012b0f5522d7a98bd82d7-filelists.xml.gz: [Errno 14] HTTPS Error 403 - Forbidden
Environment
- Red Hat Enterprise Linux Server
- Amazon Web Services EC2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.