Bug 2021026
| Summary: | Can't pull the image through private registry in OCP 4.8 - "rpc error: code = Unknown desc = error pinging docker registry registry.access.redhat.com" | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | kwwong |
| Component: | Node | Assignee: | Qi Wang <qiwan> |
| Node sub component: | CRI-O | QA Contact: | Sunil Choudhary <schoudha> |
| Status: | CLOSED WORKSFORME | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, dornelas, miabbott, qiwan, wewang |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-01-26 20:27:21 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: | |||
|
Description
kwwong
2021-11-08 06:28:59 UTC
(In reply to kwwong from comment #8) > > [[registry]] > prefix = "" > location = "registry.redhat.io" > mirror-by-digest-only = false > > [[registry.mirror]] > location = "dockerhub.rnd.amadeus.net:xxxx" > Hi, the customer wants to mirror registry.access.redhat.com to their private mirror registry, but the above registry.conf is mirroring "registry.redhat.io" to the mirror registry. From the log, the image pull used "registry.access.redhat.com" that doesn't match the source registry "registry.redhat.io" in the registry.conf so the mirror registry hasn't been used. A workaround is replacing the above location = "registry.redhat.io" with location = "registry.access.redhat.com". Hi Qi, Thank you so much for your help, I am delighted to know this bug has been addressed. You may now close this ticket. Kind regards, Jaime |