istio / old_issues_repo

Deprecated issue-tracking repo, please post new issues or feature requests to istio/istio instead.
37 stars 9 forks source link

Can't run docker.io/istio/servicegraph:0.5.0 image #179

Open rvrignaud opened 6 years ago

rvrignaud commented 6 years ago

Is this a BUG or FEATURE REQUEST?:

Did you review istio.io/help and existing issues to identify if this is already solved or being worked on?: Y

Bug: Y

What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details istio 0.5.0 kubernetes 1.9.1

Is Istio Auth enabled or not ? Yes

What happened: When installing kubernetes/addons/servicegraph.yaml on GKE 1.9.1 cluster pods is not starting with error:

  Warning  Failed                 4s (x3 over 21s)  kubelet, gke-istio-default-pool-d2fa1f54-9mx7  Error: failed to start container "servicegraph": Error response fr
om daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/usr/local/bin/servicegraph\": permission denied"

We should note that running same docker image on docker (17.05.0-ce) is not working either:

docker run docker.io/istio/servicegraph:0.5.0
container_linux.go:247: starting container process caused "exec: \"/usr/local/bin/servicegraph\": permission denied"
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/usr/local/bin/servicegraph\": permission d
enied".

What you expected to happen: Image should be able to start with it's default entrypoint

How to reproduce it: Install kubernetes/addons/servicegraph.yaml on kubernetes cluster

Feature Request: N

douglas-reid commented 6 years ago

I can confirm that I'm seeing this issue as well with the docker.io images. @hklai ideas here?

douglas-reid commented 6 years ago

I have a PR out to fix the first part of this problem: https://github.com/istio/istio/pull/3079

hklai commented 6 years ago

Looking at http://gcsweb.istio.io/gcs/istio-prerelease/daily-build/, the servicegraph image size changed after 20180105. Seems to be related to the build system change.

doncorsean commented 6 years ago

Seeing same...

rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\"/bin/sh\\": stat /bin/sh: no such file or directory\"\n" command terminated with non-zero exit code: Error executing in Docker Container: 126

OpenShift]$ istioctl version Version: 0.5.1 GitRevision: 30acfe6528107ea333543309095659b93364b30d User: root@2e4a18076b04 Hub: docker.io/istio GolangVersion: go1.9 BuildStatus: Clean

douglas-reid commented 6 years ago

@doncorsean can you try updating to a newer image (0.6.0, 0.7.0, or 0.7.1) ? i'm not sure that the older images were ever updated with the fix for the issue.

hklai commented 6 years ago

Please try 0.6.0 or 0.7.1. 0.7.0 is bad and should not be used anyway.