Bug 2060610
Summary: | Broken access to public images: Unable to connect to the server: no basic auth credentials | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
Status: | CLOSED ERRATA | QA Contact: | Mike Fiedler <mifiedle> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.10 | CC: | aos-bugs, deads, mifiedle, stbenjam, vlaad, wking |
Target Milestone: | --- | Keywords: | FastFix |
Target Release: | 4.10.0 | ||
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-03-10 16:44:40 UTC | Type: | --- |
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: | 2060605 | ||
Bug Blocks: |
Description
OpenShift BugZilla Robot
2022-03-03 20:42:06 UTC
Setting blocker+ in this 4.10.0 bug, per [1]. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=2060605#c2 Verified with the simple reproducer [mifiedle@mffiedler ~]$ oc patch configs.imageregistry.operator.openshift.io/cluster --patch '{"spec":{"defaultRoute":true}}' --type=merge config.imageregistry.operator.openshift.io/cluster patched [mifiedle@mffiedler ~]$ oc adm policy add-role-to-group system:image-puller system:unauthenticated --namespace openshift Warning: Group 'system:unauthenticated' not found clusterrole.rbac.authorization.k8s.io/system:image-puller added: "system:unauthenticated" [mifiedle@mffiedler ~]$ HOST=$(oc get route default-route -n openshift-image-registry --template='{{ .spec.host }}') [mifiedle@mffiedler ~]$ oc image info --insecure "${HOST}/openshift/tools" W0303 16:39:27.843335 48196 helpers.go:151] Defaulting of registry auth file to "${HOME}/.docker/config.json" is deprecated. The default will be switched to podman config locations in the future version. Name: default-route-openshift-image-registry.apps.ci-ln-jvfxyht-76ef8.origin-ci-int-aws.dev.rhcloud.com/openshift/tools:latest Digest: sha256:3b5588eec3e985d73f246bc80dc618cff889da5ee652863fe750851e3e26dc09 Media Type: application/vnd.docker.distribution.manifest.v2+json Created: 15d ago Image Size: 273.7MB in 7 layers Layers: 83.3MB sha256:eac1b95df832dc9f172fd1f07e7cb50c1929b118a4249ddd02c6318a677b506a 1.789kB sha256:47aa3ed2034c4f27622b989b26c06087de17067268a19a1b3642a7e2686cd1a3 16.81MB sha256:6a15bb59e41f721e4315ae053d006cfcdcf06bff2bd7586dacff36bf0272c30a 11.6MB sha256:996635267df8ca4c548dc4d34d06d19c54e9fc37dfc703a1058c2aa2e95bfd06 485.5kB sha256:81b704cb35c4fdab7096f5284395de67f8b9d163f69777c37e3e40a86aeaf238 48.77MB sha256:2edd04531b637ddb36e15719002efb85c91edbc27b0bbd894bd97311ed47979d 112.8MB sha256:7d1c2db5ae0d6e6acbd2027066bc4e17a6e41d1cc0e4831b8a167ca05ef53ce2 OS: linux Arch: amd64 Command: /usr/bin/bash User: 0 Environment: __doozer=merge BUILD_RELEASE=202202081751.p0.g544601e.assembly.stream BUILD_VERSION=v4.10.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=10 <snip - rest of output deleted> 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 |