stolostron / governance-policy-addon-controller

Apache License 2.0
1 stars 15 forks source link

Missing container images for arm64 #424

Open nirs opened 6 months ago

nirs commented 6 months ago

Trying to install ocm on on a linux/aarch64 (arm64 for go), governance-policy pods are in CrashLoopBackOff.

$ kubectl get pod --context hub -n open-cluster-management
NAME                                                     READY   STATUS             RESTARTS        AGE
cluster-manager-86bdcdf7d5-svptt                         1/1     Running            0               15m
governance-policy-addon-controller-55845b9dd7-lws9d      0/1     CrashLoopBackOff   7 (3m41s ago)   14m
governance-policy-propagator-69dbdf7fb9-dkt49            0/1     CrashLoopBackOff   7 (3m25s ago)   14m
multicluster-operators-appsub-summary-5568c77d97-2xxmg   0/1     CrashLoopBackOff   7 (3m49s ago)   14m
multicluster-operators-channel-6cbf4cdc86-hb5v2          0/1     CrashLoopBackOff   7 (3m43s ago)   14m
multicluster-operators-placementrule-7bfd756d8f-7mp94    0/1     CrashLoopBackOff   7 (3m36s ago)   14m
multicluster-operators-subscription-566b648ddc-pkncq     0/1     CrashLoopBackOff   7 (3m52s ago)   14m

Checking the image shows that it provides only amd64:

$ podman inspect quay.io/open-cluster-management/governance-policy-addon-controller:v0.12.0 | grep Architecture
          "Architecture": "amd64",

Can we add arm64 images to quay.io? this is usually easy to add using podman manifest: https://developers.redhat.com/articles/2023/11/03/how-build-multi-architecture-container-images#podman

Same issue for other components (multicluster-operators-*). I hope that someone responsible for building all images for stolstron can fix this for the entire project.

Example multi-arch open-cluster-management images: https://quay.io/repository/open-cluster-management/addon-manager?tab=tags

Example amd64 only open-cluster-management images: https://quay.io/repository/open-cluster-management/governance-policy-framework-addon?tab=tags

dhaiducek commented 6 months ago

@nirs Thanks for the issue. It seems multi-arch images were implemented without our awareness. We'll get it implemented to match images coming out of https://github.com/open-cluster-management-io/ocm.