-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
Kata Sprint #267, Kata Sprint #268
-
0
Description
trustee-operator.v0.2.0 fails to be deployed in disconnected environment due to referencing ose-kube-rbac-proxy-rhel9 with sha256.
The deployment of the operator tries to pull ose-kube-rbac-proxy-rhel9 from registry.redhat.io
Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 3m default-scheduler Successfully assigned trustee-operator-system/trustee-operator-controller-manager-5dbb67fcb7-kd5q4 to ip-172-16-3-109.ap-southeast-1.compute.internal Normal AddedInterface 3m multus Add eth0 [10.129.2.23/23] from ovn-kubernetes Normal Pulled 2m kubelet Container image "registry.redhat.io/confidential-compute-attestation-tech-preview/trustee-rhel9-operator@sha256:3cbd7eef2943bc120765c22d8314e0c5e777dbb310ba58a62910b04676a5d03b" already present on machine Normal Created 2m kubelet Created container manager Normal Started 2m kubelet Started container manager Warning Failed 37s (x2 over 2m) kubelet Failed to pull image "registry.redhat.io/openshift4/ose-kube-rbac-proxy-rhel9": rpc error: code = DeadlineExceeded desc = pinging container registry registry.redhat.io: Get "https://registry.redhat.io/v2/": dial tcp 118.215.81.123:443: i/o timeout Warning Failed 37s (x2 over 2m) kubelet Error: ErrImagePull Normal BackOff 24s (x4 over 119s) kubelet Back-off pulling image "registry.redhat.io/openshift4/ose-kube-rbac-proxy-rhel9" Warning Failed 24s (x4 over 119s) kubelet Error: ImagePullBackOff Normal Pulling 11s (x3 over 3m) kubelet Pulling image "registry.redhat.io/openshift4/ose-kube-rbac-proxy-rhel9"
More details are here https://github.com/sadiquepp/ocp-on-aws/tree/main/coco
Editing the csv and replacing https://github.com/sadiquepp/ocp-on-aws/blob/main/coco/csv.txt#L197 with a @sha256 helps solve this issue. Please kindly requested to fix this in the operator.
Expected result
<What did you expect to happen?>
Actual result
<What actually happened?>
Impact
<How badly does this interfere with using the software?>
Env
<Where was the bug found, i.e. OCP build, operator build, kata-containers build, cluster infra, test case id>
Additional helpful info
<logs, screenshot, doc links, etc.>