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

VM reuse: waiting for k8s-app=kube-proxy: timed out waiting for the condition #3850

Closed
samuel-sujith opened this issue Mar 11, 2019 · 8 comments
Labels
co/kube-proxy issues relating to kube-proxy in some way ev/kube-proxy-pod-timeout timeout waiting for kube-proxy to schedule priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/duplicate Indicates an issue is a duplicate of other open issue.
Milestone

Comments

@samuel-sujith
Copy link

samuel-sujith commented Mar 11, 2019

Command: minikube start --vm-driver=virtualbox --docker-env=HTTP_PROXY=$HTTP_PROXY --docker-env HTTPS_PROXY=$HTTPS_PROXY --docker-env NO_PROXY=$NO_PROXY

Output:

o   minikube v0.35.0 on linux (amd64)
i   Tip: Use 'minikube start -p <name>' to create a new cluster, or 'minikube delete' to delete this one.
:   Re-using the currently running virtualbox VM for "minikube" ...
:   Waiting for SSH access ...
-   "minikube" IP address is 192.168.99.100
o   Found network options:
    - HTTP_PROXY=XXXXX
    - HTTPS_PROXY=XXXXX
    - NO_PROXY=localhost,127.0.0.1,XXXXXXX
-   Configuring Docker as the container runtime ...
    - env HTTP_PROXY=XXXX
    - env HTTPS_PROXY=XXXX
    - env NO_PROXY=XXXXXXX
-   Preparing Kubernetes environment ...
-   Pulling images required by Kubernetes v1.13.4 ...
:   Relaunching Kubernetes v1.13.4 using kubeadm ...
:   Waiting for pods: apiserver proxy!   Error restarting cluster: wait: waiting for k8s-app=kube-proxy: timed out waiting for the condition
  • The output of the "minikube logs" command
    Attached
  • Which operating system version was used
    Ubuntu 16.04
    minikube_logs.txt
@staticdev
Copy link
Contributor

Did it at #3843 (earlier issue)

@tstromberg tstromberg changed the title Timed out waiting for proxy Error restarting cluster: wait: waiting for k8s-app=kube-proxy: timed out waiting for the condition Mar 13, 2019
@tstromberg
Copy link
Contributor

@samuel-sujith - Thanks for your bug report! I don't know why kube-proxy isn't coming up, but if you don't mind providing this log, I think it might help:

minikube ssh docker logs $(docker ps -a -f name=k8s_kube-proxy --format={{.ID}})

Thanks!

@tstromberg tstromberg added co/kube-proxy issues relating to kube-proxy in some way priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. labels Mar 13, 2019
@kmpartner
Copy link

After deleting all minikube from virtualbox and getting rid of any leftovers from previous experiments using the following command, I could launch a new minikube
sudo rm -rf ~/.minikube; sudo rm -rf ~/.kub

@shenoyn
Copy link

shenoyn commented Mar 26, 2019

I too faced same issue on Mac due to system settings. I ended up re-installing VirtualBox too.

Finally executed below steps to recover

  1. minikube delete (Delete the VM and other states)
  2. minikube start (This will create VM fresh)

@staticdev
Copy link
Contributor

staticdev commented Mar 27, 2019

@shenoyn Minikube delete also solved my problem.
@samuel-sujith can you try that please?

@marcosdiez
Copy link
Contributor

Hi! I had a similar problem and my solution is here: #4052
Could you please try yourself and comment if the solution works for you as well ? Thank you!

@tstromberg tstromberg changed the title Error restarting cluster: wait: waiting for k8s-app=kube-proxy: timed out waiting for the condition virtualbox: waiting for k8s-app=kube-proxy: timed out waiting for the condition Apr 4, 2019
@tstromberg tstromberg changed the title virtualbox: waiting for k8s-app=kube-proxy: timed out waiting for the condition not-none: waiting for k8s-app=kube-proxy: timed out waiting for the condition Apr 4, 2019
@tstromberg tstromberg added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. labels Apr 4, 2019
@tstromberg
Copy link
Contributor

Thanks for the bug report! If you run into this with minikube v1.0.0, please attach the output of minikube logs so that we can help diagnose the issue further.

@tstromberg tstromberg changed the title not-none: waiting for k8s-app=kube-proxy: timed out waiting for the condition VM reuse: waiting for k8s-app=kube-proxy: timed out waiting for the condition Apr 11, 2019
@tstromberg tstromberg added the ev/kube-proxy-pod-timeout timeout waiting for kube-proxy to schedule label Apr 11, 2019
@tstromberg tstromberg added this to the v1.0.1 milestone Apr 11, 2019
@tstromberg
Copy link
Contributor

Dupe of #3843

@tstromberg tstromberg added triage/duplicate Indicates an issue is a duplicate of other open issue. and removed triage/needs-information Indicates an issue needs more information in order to work on it. labels Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/kube-proxy issues relating to kube-proxy in some way ev/kube-proxy-pod-timeout timeout waiting for kube-proxy to schedule priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

6 participants