-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.17
-
None
-
No
-
Multi-Arch Sprint 258, Multi-Arch Sprint 259
-
2
-
False
-
Description of problem:
The operator can't inspect images through the proxy, will
Version-Release number of selected component (if applicable):
multiarch-tuning-operator.v0.9.0
How reproducible:
Always
Steps to Reproduce:
1. Launch a http proxy cluster https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-common/job/Flexy-install/293597/parameters/ 2. Create a deployment with image from quay.io, check pod can be created and running 3. Install the multiarch tuning operator and deploy the PodPlacementConfig CR 4. delete the pod, check if pod can be created and running oc new-project test-mmo oc create -f - <<EOF apiVersion: apps/v1 kind: Deployment metadata: name: test-deployment spec: selector: matchLabels: app: hello-openshift replicas: 1 template: metadata: labels: app: hello-openshift spec: containers: - name: hello-openshift image: quay.io/openshifttest/hello-openshift:1.2.0 EOF
Actual results:
1. the pod will be blocked with below error "Scheduling is blocked due to non-empty scheduling gates" 2. logs from pod-placement-controller: 2024-06-27T04:16:00Z ERROR Error creating the image source {"controller": "pod", "controllerGroup": "", "controllerKind": "Pod", "Pod": {"name":"test-deployment-545944b46f-8vs7p","namespace":"t-5752c440-3625-4a64-889b-e8091f653546"}, "namespace": "t-5752c440-3625-4a64-889b-e8091f653546", "name": "test-deployment-545944b46f-8vs7p", "reconcileID": "30928cb9-bca8-45a4-b792-19dd50088238", "imageReference": "//quay.io/multi-arch/tuning-test-local:1.1.0", "error": "pinging container registry quay.io: Get \"https://quay.io/v2/\": dial tcp 54.145.89.37:443: i/o timeout"} github.com/openshift/multiarch-tuning-operator/pkg/image.(*registryInspector).GetCompatibleArchitecturesSet /workspace/pkg/image/inspector.go:79 github.com/openshift/multiarch-tuning-operator/pkg/image.(*Facade).GetCompatibleArchitecturesSet /workspace/pkg/image/facade.go:38
Expected results:
mto can work on cluster-wide proxy, the pod can be scheduled
Additional info:
- links to
-
RHEA-2024:6122 OpenShift Container Platform 4.18.z bug fix update