OpenShift 4 でミラーリングされたレジストリーの使用時に "x509: certificate signed by unknown authority error" のエラーが発生し、イメージのプルに失敗する
Issue
- ミラーリングされたレジストリーの使用環境において、
ImagePullBackOffが発生している Pod があります。具体的には、Failed to pull imageおよびx509: certificate signed by unknown authority errorエラーにより、イメージのプルに失敗しています。 -
イメージのプルに失敗し、イベントログに以下のメッセージが表示されました。
Failed to pull image "quay.io/openshift-release-dev/ocp-release@sha256:xxxxxx": rpc error: code = Unknown desc = (Mirrors also failed: custom-image-registry-mirror.example.com:[port]/[namespace]0@sha256:xxxxxx: pinging container registry custom-image-registry-mirror.example.com:[port]: Get "https://custom-image-registry-mirror.example.com:[port]/v2/": x509: certificate signed by unknown authority]): quay.io/openshift-release-dev/ocp-release@sha256:xxxxxx: pinging container registry quay.io: Get "https://quay.io/v2/": dial tcp: lookup quay.io on 10.0.0.1:53: server misbehaving
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- 非接続環境
- ミラーリングされたレジストリー
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.