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

failed to get container status {"" ""}: rpc error: code = OutOfRange desc = EOF #3097

Closed
vivinjoseph9 opened this issue Aug 29, 2018 · 4 comments
Labels
co/hyperv HyperV related issues ev/CrashLoopBackOff Crash Loop Backoff events kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/windows triage/not-reproducible Indicates an issue can not be reproduced as described.

Comments

@vivinjoseph9
Copy link

Minikube: v0.25.0

Kubectl: Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T20:17:28Z", GoVersion:"go1.10.2", Compiler:"gc", Platform:"windows/amd64"}

OS: Windows 10

Docker: Docker for windows - Version 18.06.0-ce-win72

GoVersion: go1.10.2

vm driver : Hyper-V

Tried to run a sample program on minikube to check whether if can be used for local testing,

Ran the example given under the client-go library:
https://github.com/kubernetes/client-go/tree/master/examples/in-cluster-client-configuration

Added all necessary dependencies using "dep".
->"go build" led to the program being complied successfully

Docker image was created using the dockerfile provided in the examples, and all the steps mentioned in the Readme file.

->Docker image was also created.

->Using the "kubectl run" command and using the above mentioned image, the deployment was created.

-> "kubectl get deployments" command showed the nothing to be wrong

Expected: pod to be wrong with out any errors and the able to retrieve the pods

Actual:
-> "kubectl get pods" command showed the pod and its status as "CrashLoopBackoff"

-> i checked the logs to find out the cause and it showed the below:
"log : failed to get container status {"" ""}: rpc error: code = OutOfRange desc = EOF"

@tstromberg
Copy link
Contributor

Do you mind sharing your "minikube start" command?

Also, the output of "minikube ssh "journalctl -u kubelet" would be useful here.

@tstromberg tstromberg changed the title Running a sample program on minikube which uses k8s API leads to "crashloopbackoff" (pod crash and then restart infinitely) failed to get container status {"" ""}: rpc error: code = OutOfRange desc = EOF Sep 18, 2018
@tstromberg tstromberg added os/windows co/hyperv HyperV related issues kind/bug Categorizes issue or PR as related to a bug. ev/CrashLoopBackOff Crash Loop Backoff events labels Sep 18, 2018
@tstromberg
Copy link
Contributor

Also, please share the logs for:

kubectl describe pod <name of crashing pod>

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 18, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 17, 2019
@tstromberg tstromberg added triage/not-reproducible Indicates an issue can not be reproduced as described. and removed more-info-needed labels Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/hyperv HyperV related issues ev/CrashLoopBackOff Crash Loop Backoff events kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/windows triage/not-reproducible Indicates an issue can not be reproduced as described.
Projects
None yet
Development

No branches or pull requests

4 participants