Bug 2008539
Summary: | Registry doesn't fall back to secondary ImageContentSourcePolicy Mirror | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Manuel Dewald <mdewald> |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.9 | CC: | anaim, aos-bugs, calfonso, cblecker, dmurga, dofinn, jaharrin, nmalik, obulatov, pveiga, vlaad, wewang, wgordon, wking |
Target Milestone: | --- | Keywords: | ServiceDeliveryBlocker, ServiceDeliveryImpact |
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: the registry proxied response from the first available mirrored registry
Consequence: when the mirror registry were available but didn't have the requested data, pull-through didn't try to use other mirrors, even if they had the needed data
Fix: pull-through should try other registries if the first mirror replied with Not Found
Result: pull-through can discover data if it exists on any mirror registry
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:13:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2029987 |
Description
Manuel Dewald
2021-09-28 13:53:51 UTC
Can you attach must-gather or at least YAML for the image stream openshift/cli? If the image stream is successfully imported, then I also need registry logs. Example of a failed job with must-gather: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/osde2e-stage-aws-e2e-next-y/1443063209534689280 This BZ will be a blocker for 4.10 and the fix should be backported to 4.9.z and 4.8.z. An initial fix for librar-go's client is proposed at https://github.com/openshift/library-go/pull/1226. Verified this image on 4.10.0-0.nightly-2021-12-01-210213 spec: repositoryDigestMirrors: - mirrors: - pull.q1w2.quay.rhcloud.com/openshift-release-dev/ocp-release - pull.q1w3.quay.rhcloud.com/openshift-release-dev/ocp-release - pull.q1w4.quay.rhcloud.com/openshift-release-dev/ocp-release - quay.io/openshift-release-dev/ocp-release source: quay.io/openshift-release-dev/ocp-release - mirrors: - pull.q1w2.quay.rhcloud.com/openshift-release-dev/ocp-art-dev - pull.q1w3.quay.rhcloud.com/openshift-release-dev/ocp-release - pull.q1w4.quay.rhcloud.com/openshift-release-dev/ocp-release - quay.io/openshift-release-dev/ocp-v4.0-art-dev source: quay.io/openshift-release-dev/ocp-v4.0-art-dev $oc create deploy --image image-registry.openshift-image-registry.svc:5000/openshift/cli:latest cli-test deployment.apps/cli-test created Normal Pulled 24s kubelet Successfully pulled image "image-registry.openshift-image-registry.svc:5000/openshift/cli:latest" in 52.76675ms Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056 |