On IBM power based OCP cluster : Unable to install older version of gitlab runner operator
Was interested to install previous version v1.10.1 of gitlab-runner operator on IBM power arch based openshift cluster following steps mentioned here .
Created a catalog source as well as mentioned in docs as seen below.
# cat gitlabcatalogsource.yaml
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: gitlab-runner-catalog
namespace: openshift-marketplace
spec:
sourceType: grpc
image: registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1
displayName: GitLab Runner Operators
publisher: GitLab Community
However observed that the gitlab image registry doesn't contain older versions atleast for IBM power arch. Confirmed by pulling those images as well on IBM power arch based node.
# podman pull registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1
Trying to pull registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1...
Error: initializing source docker://registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1: reading manifest v1.10.1 in registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source: manifest unknown: manifest unknown
v1.11.0 version exists as seen below
# podman pull registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.11.0
Trying to pull registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.11.0...
Getting image source signatures
Copying blob 46e8b1d8f474 done
Copying blob 789f189e0129 done
Copying blob c4591f7c6598 done
Copying blob 30a0cbb880a2 done
Copying blob 3caf04026021 done
Copying blob 12759cfb2d9f done
Copying config 1f02add204 done
Writing manifest to image destination
Storing signatures
1f02add204fc81f5c36ae0e700c302ce6993cfdd9cb313dfcf878d689adade69
And here's the supporting pod log of above catalog(v1.10.1) failing on IBM power.
# oc logs gitlab-runner-catalog-pws57 -n openshift-marketplace
Error from server (BadRequest): container "registry-server" in pod "gitlab-runner-catalog-pws57" is waiting to start: trying and failing to pull image
# oc describe po gitlab-runner-catalog-pws57 -n openshift-marketplace
Name: gitlab-runner-catalog-pws57
Namespace: openshift-marketplace
Priority: 0
...
....
....
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Failed 34m (x6 over 36m) kubelet Error: ImagePullBackOff
Normal Pulling 34m (x4 over 36m) kubelet Pulling image "registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1"
Warning Failed 34m (x4 over 36m) kubelet Failed to pull image "registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1": rpc error: code = Unknown desc = reading manifest v1.10.1 in registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source: manifest unknown: manifest unknown
Warning Failed 34m (x4 over 36m) kubelet Error: ErrImagePull
Normal BackOff 65s (x153 over 36m) kubelet Back-off pulling image "registry.gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/gitlab-runner-operator-catalog-source:v1.10.1"