projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
5.88k stars 1.31k forks source link

The "node-driver-registrar" binary has x86 architecture in a ppc64le Calico/node-driver-registrar image. #8784

Open iv1111 opened 4 months ago

iv1111 commented 4 months ago

Hello.

Our team has noticed that in the ppc64le version of the Calico/node-driver-registrar:v3.27.0 image which one can pull like this:

docker pull --platform linux/ppc64le calico/node-driver-registrar:v3.27.0

there is an x86 executable located inside the image filesystem under:

/usr/local/bin/node-driver-registrar

which we cannot run on our ppc64le machine that hosts the docker installation.

This issue is related to https://github.com/projectcalico/calico/pull/7315 and note that on s390x architecture, the problem persists even though the patch in afore-mentioned PR has been merged long ago.

iv1111 commented 4 months ago

FYI @tumberino @caseydavenport @huoqifeng

Michael-Baylis commented 1 week ago

The s390x problem still exists, I have tried at v3.26.0 and v3.28.1.

exec /usr/local/bin/node-driver-registrar: exec format error