-
Bug
-
Resolution: Done
-
Normal
-
4.14, 4.15
-
None
-
Moderate
-
No
-
False
-
Description of problem
ImageRegistry became a new optional component in 4.14 (docs#64469, api#1572). And even before that, it has long been configurable for managementState: Removed. However the no-capabilities test is currently failing like:
message: Back-off pulling image "image-registry.openshift-image-registry.svc:5000/openshift/tools:latest"
in clusters without a local registry. We should teach the origin suite to be more forgiving of a lack of internal registry.
Version-Release number of selected component (if applicable):
4.14 and 4.15. But possibly 4.14 is now stable enough about 4.14 no-capabilities jobs to backport any fixes.
How reproducible:
100%
Steps to Reproduce:
1. Open a recent 4.15 no-cap run and see if it passed.
Actual results:
Lots of test-cases failing to pull from image-registry.openshift-image-registry.svc:5000 , which isn't expected to exist for these clusters, where the ImageRegistry capability is not requested.
Expected results:
Passing CI test-cases .
Additional info:
I'm fuzzy on the relationship between ImageStreams and the local image registry, but at the moment, the tools ImageStreams and such are still part of no-caps runs:
$ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.15-e2e-aws-ovn-no-capabilities/1709539450616287232/artifacts/e2e-aws-ovn-no-capabilities/gather-must-gather/artifacts/must-gather.tar | tar xOz 31e3c46d361008f321d02ef278f62b1fc4e5510a9902c8ac16de5b2078fed849/namespaces/openshift/image.openshift.io/imagestreams.yaml | yaml2json | jq -r '.items[] | select(.metadata.name == "tools").status' { "dockerImageRepository": "", "tags": [ { "items": [ { "created": "2023-10-04T12:24:42Z", "dockerImageReference": "registry.ci.openshift.org/ocp/4.15-2023-10-04-015153@sha256:a83089cbb8a8f4ef868e5f37de5d305c10056e4e9761ad37b7c1ab98f465a553", "generation": 2, "image": "sha256:a83089cbb8a8f4ef868e5f37de5d305c10056e4e9761ad37b7c1ab98f465a553" } ], "tag": "latest" } ] }