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

docker.io/envoyproxy/envoy:v1.23.0 arm64 image fails with ./docker-entrypoint.sh: 29: exec: su-exec: Exec format error #22384

Closed
mbana opened this issue Jul 25, 2022 · 5 comments
Labels
bug triage Issue requires triage

Comments

@mbana
Copy link
Contributor

mbana commented Jul 25, 2022

Host:

$ uname -a
Linux ubuntu-free-x86 5.15.0-1013-oracle #17-Ubuntu SMP Fri Jun 24 10:14:16 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
$ docker run --rm -it docker.io/envoyproxy/envoy:v1.23.0            
/docker-entrypoint.sh: 29: exec: su-exec: Exec format error

Debug Log:

$ docker run --rm -it --entrypoint=/bin/bash docker.io/envoyproxy/envoy:v1.23.0
$ file /usr/local/bin/envoy 
/usr/local/bin/envoy: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=ce49c7f65668a22b80d1e83c35d170741bb8d46a, stripped
$ which envoy
/usr/local/bin/envoy
$ ./docker-entrypoint.sh 
./docker-entrypoint.sh: 29: exec: su-exec: Exec format error
$ uname -a
Linux 47906637c567 5.15.0-1013-oracle #17-Ubuntu SMP Fri Jun 24 10:14:16 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

From the above it's obvious it's shipping an x86_64 image:

$ file /usr/local/bin/envoy 
/usr/local/bin/envoy: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=ce49c7f65668a22b80d1e83c35d170741bb8d46a, stripped
@mbana mbana added bug triage Issue requires triage labels Jul 25, 2022
@phlax
Copy link
Member

phlax commented Jul 25, 2022

hi @mbana thanks for reporting - im going to close this as duplicate of #22262 which was inadvertently closed and contains more information

i expect to have a new release out by early next week

@phlax phlax closed this as completed Jul 25, 2022
@mbana
Copy link
Contributor Author

mbana commented Jul 25, 2022

Thank you for the quick response.

Can you not make an interim build for docker.io/envoyproxy/envoy:v1.23.0 tagged envoy:v1.23.1 or latest or so. One week a long wait ...

@phlax
Copy link
Member

phlax commented Jul 25, 2022

not as it stands - currently publishing Docker images requires a new patch version, and there are a bunch of other things that need to go into that

there has been some discussion about separating the container publishing from release publishing, but that is not the case today

@mbana
Copy link
Contributor Author

mbana commented Aug 22, 2022

@phlax and @GJKrupa, why was this closed?

Could you please try running an arm64 image, ideally on an arm64 host as well, and confirm that it is working.

Thanks a lot.

@phlax
Copy link
Member

phlax commented Aug 23, 2022

closed as duplicate

this will be fixed once #22813 lands

mbana added a commit to kubeshop/kusk-gateway that referenced this issue Aug 26, 2022
See:

* [`docker.io/envoyproxy/envoy:v1.23.0` `arm64` image fails with `./docker-entrypoint.sh: 29: exec: su-exec: Exec format error`](envoyproxy/envoy#22384).
* [repo: Release 1.23.1](envoyproxy/envoy#22813).

Signed-off-by: Mohamed Bana <mohamed@bana.io>
mbana added a commit to kubeshop/helm-charts that referenced this issue Aug 26, 2022
See:

* [`docker.io/envoyproxy/envoy:v1.23.0` `arm64` image fails with `./docker-entrypoint.sh: 29: exec: su-exec: Exec format error`](envoyproxy/envoy#22384).
* [repo: Release 1.23.1](envoyproxy/envoy#22813).

Signed-off-by: Mohamed Bana <mohamed@bana.io>
mbana pushed a commit to kubeshop/kusk-gateway that referenced this issue Aug 26, 2022
See:

* [`docker.io/envoyproxy/envoy:v1.23.0` `arm64` image fails with `./docker-entrypoint.sh: 29: exec: su-exec: Exec format error`](envoyproxy/envoy#22384).
* [repo: Release 1.23.1](envoyproxy/envoy#22813).

Signed-off-by: Mohamed Bana <mohamed@bana.io>
mbana added a commit to kubeshop/helm-charts that referenced this issue Aug 26, 2022
See:

* [`docker.io/envoyproxy/envoy:v1.23.0` `arm64` image fails with `./docker-entrypoint.sh: 29: exec: su-exec: Exec format error`](envoyproxy/envoy#22384).
* [repo: Release 1.23.1](envoyproxy/envoy#22813).

Signed-off-by: Mohamed Bana <mohamed@bana.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issue requires triage
Projects
None yet
Development

No branches or pull requests

2 participants