scope
scope copied to clipboard
Weave-scope CrashLoopBackOff - standard_init_linux.go:190 on armv7
What you expected to happen?
works fine
What happened?
The pod for weave-scope throws an error and the container keeps the status as CrashLoopBackOff
standard_init_linux.go:190: exec user process caused "exec format error"
How to reproduce it?
Just install Weave Scope on your Kubernetes cluster Pi
Anything else we need to know?
Every 2.0s: kubectl get pods --namespace=kube-system srvlpi01: Sun Jul 22 00:40:29 2018
NAME READY STATUS RESTARTS AGE
coredns-78fcdf6894-864mw 1/1 Running 0 1h
coredns-78fcdf6894-v5wqm 1/1 Running 0 1h
etcd-srvlpi01 1/1 Running 0 1h
kube-apiserver-srvlpi01 1/1 Running 0 1h
kube-controller-manager-srvlpi01 1/1 Running 0 1h
kube-proxy-4k5hj 1/1 Running 0 1h
kube-proxy-dwpcv 1/1 Running 0 1h
kube-proxy-pxvjf 1/1 Running 0 1h
kube-scheduler-srvlpi01 1/1 Running 0 1h
kubernetes-dashboard-ccf7f578c-s5zg9 1/1 Running 0 1h
weave-net-4xrgw 2/2 Running 0 1h
weave-net-5qk2t 2/2 Running 0 1h
weave-net-mf7zf 2/2 Running 0 1h
pi@srvlpi01:~ $ kubectl --namespace=weave get pods
NAME READY STATUS RESTARTS AGE
weave-scope-agent-25k2c 0/1 Error 14 46m
weave-scope-agent-jfc6r 0/1 CrashLoopBackOff 13 46m
weave-scope-agent-rn6zj 0/1 CrashLoopBackOff 13 46m
weave-scope-app-54889b8bc5-l4kdn 0/1 CrashLoopBackOff 13 46m
Versions:
$ scope version
pi@srvlpi01:~ $ docker version
Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:19:46 2018
OS/Arch: linux/arm
Experimental: false
Server:
Engine:
Version: 18.06.0-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:15:34 2018
OS/Arch: linux/arm
Experimental: false
pi@srvlpi01:~ $ uname -a
Linux srvlpi01 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux
pi@srvlpi01:~ $ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:53:20Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/arm"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:43:26Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/arm"}
Logs:
pi@srvlpi01:~ $ docker logs d99736314b40
standard_init_linux.go:190: exec user process caused "exec format error"
or, if using Kubernetes:
pi@srvlpi01:~ $ kubectl logs weave-scope-app-54889b8bc5-l4kdn -n=weave
standard_init_linux.go:190: exec user process caused "exec format error"
Are there plans to build this for ARM? This still happens
We actually do build it for ARM; what we don't do is run the test suite and release the images. Or do any of the multi-arch manifest stuff.
https://github.com/weaveworks/scope/blob/bf6af9cfcc86c6cc023c440c313c6c69b586c54f/.circleci/config.yml#L116
If you'd like to figure out how to do any of that and submit a PR, let us know.
Are there plans to do this? Forking all of that to cross build is pretty hefty
No plans at present.
This is an Open Source project: no plans are necessary, just someone showing up to do the work.