Description of problem: The customer failed to pull the image from their private registry in OCP 4.8, which was working on OCP 4.7, the customer is working in a disconnected environment. Version-Release number of selected component (if applicable): How reproducible: customer updated the cluster from 4.7 to 4.8, and lose the capability to pull images, they updated a second cluster, and the same issue persisted. Steps to Reproduce: 1. mirror openshift3/oauth-proxy from https://registry.access.redhat.com to a private docker registry 2. change the registry location in /etc/containers/registries.conf 3. pull image from private registry Actual results: Openshift is ignoring the mirror setting in the /etc/containers/registries.conf Expected results: access the image from own registry Additional info:
(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