rancher / rke2

https://docs.rke2.io/
Apache License 2.0
1.56k stars 268 forks source link

`cloud-provider-vsphere` images fail to build on an arm64 platform #5260

Closed mgfritch closed 9 months ago

mgfritch commented 10 months ago

Describe the bug:

Cannot pull cloud-provider-vsphere images on an arm64 platform: https://github.com/rancher/rke2/blob/f2396b6ea0a97b568a46b0fd754bac042e4ce854/scripts/build-images#L65-L67

arm64 based builds of these images exist do not exist upstream:

gcr.io/cloud-provider-vsphere/cpi/release/driver:v3.0.1
gcr.io/cloud-provider-vsphere/cpi/release/syncer:v3.0.1

Steps To Reproduce:

Run make build-images on an arm64 platform

Additional context / logs: Image build fails because the arm64 based images are not mirrored:

+ xargs -n1 -t docker image pull --quiet
docker image pull --quiet docker.io/rancher/mirrored-cloud-provider-vsphere-cpi-release-manager:v1.26.1
no matching manifest for linux/arm64/v8 in the manifest list entries
docker image pull --quiet docker.io/rancher/mirrored-cloud-provider-vsphere-csi-release-driver:v3.0.1
no matching manifest for linux/arm64/v8 in the manifest list entries
docker image pull --quiet docker.io/rancher/mirrored-cloud-provider-vsphere-csi-release-syncer:v3.0.1
no matching manifest for linux/arm64/v8 in the manifest list entries
docker image pull --quiet docker.io/rancher/mirrored-sig-storage-csi-node-driver-registrar:v2.7.0
docker image pull --quiet docker.io/rancher/mirrored-sig-storage-csi-resizer:v1.7.0
docker image pull --quiet docker.io/rancher/mirrored-sig-storage-livenessprobe:v2.9.0
docker image pull --quiet docker.io/rancher/mirrored-sig-storage-csi-attacher:v4.2.0
docker image pull --quiet docker.io/rancher/mirrored-sig-storage-csi-provisioner:v3.4.0
make: *** [Makefile:24: build] Error 123
VestigeJ commented 9 months ago

Closing per https://github.com/rancher/rke2/issues/5136#issuecomment-1908659731