Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calico/node-driver-registrar:v3.25.0-s390x apparently has a x86-64 binary. #7254

Open
boscojr opened this issue Jan 30, 2023 · 1 comment
Open

Comments

@boscojr
Copy link

boscojr commented Jan 30, 2023

I'm trying to install calico 3.25.0 with k8s 1.26 on s390x Linux machine via tigera operator.

Expected Behavior

Container is running

Current Behavior

Container node-driver-registrar is in CrashLoopBackOff.

$ kubectl -n calico-system   logs   csi-node-driver-sdrpd -c csi-node-driver-registrar
exec /usr/local/bin/node-driver-registrar: exec format erro

I checked the binary in image and i could see that others binary are in s390x but node-driver-registrar is in x86-64 :

$ ctr images mount quay.io/calico/node-driver-registrar:v3.25-s390x /tmp/teste/
$  file /tmp/teste/usr/local/bin/node-driver-registrar
/tmp/teste/usr/local/bin/node-driver-registrar: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

$ file /tmp/teste/bin/busybox 
/tmp/teste/bin/busybox: ELF 64-bit MSB shared object, IBM S/390, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-s390x.so.1, stripped

Possible Solution

Steps to Reproduce (for bugs)

  1. In a s390x machine run docker run quay.io/calico/node-driver-registrar:release-v3.25-s390x
  2. container exits with message: standard_init_linux.go:228: exec user process caused: exec format error

Context

Your Environment

  • Calico version: 3.25.0
  • Orchestrator version (e.g. kubernetes, mesos, rkt): k8s 1.26.0
  • Operating System and version: Red Hat 8.7 s390
  • Link to your project (optional):
@caseydavenport
Copy link
Member

I believe this should fix it #7315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants