0

在从本地镜像注册表安装 OpenShift 期间,在我启动引导机器后,我在日志日志中看到以下错误:

release-image-download.sh[1270]: 
Error: error pulling image "quay.io/openshift-release-dev/ocp-release@sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129": 
unable to pull quay.io/openshift-release-dev/ocp-release@sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129: unable to pull image: 
Error initializing source docker://quay.io/openshift-release-dev/ocp-release@sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129: 
(Mirrors also failed: [my registry:5000/ocp4/openshift4@sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129: Error reading manifest 
sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129 in my registry:5000/ocp4/openshift4: manifest unknown: manifest unknown]): 
quay.io/openshift-release-dev/ocp-release@sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129: error pinging docker registry quay.io: 
Get "https://quay.io/v2/": dial tcp 50.16.140.223:443: i/o timeout

有谁知道它可能是什么?

4

1 回答 1

0

答案在错误中:

... 拨打 tcp 50.16.140.223:443:i/o 超时

在命令行上试试这个:

$ podman pull quay.io/openshift-release-dev/ocp-release@sha256:999a6a4bd731075e389ae601b373194c6cb2c7b4dadd1ad06ef607e86476b129

您需要经过身份验证才能实际下载内容(这就是 pull secret 的作用)。但是,如果您无法获得“未经身份验证”错误,那么这将更明确地指向某些网络配置。

该 IP 解析为码头主机(您可以使用“curl -k https://50.16.140.223”进行验证)。也许您有阻止出口的互联网过滤器或防火墙?

决议:

(如果您已经在进行气隙安装并且您的本地镜像失败了,那么您的本地镜像也失败了)

于 2021-05-31T21:11:13.183 回答