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

Kubernetes cannot list nodes and is stuck in starting mode #4316

Closed
2 tasks done
mmisztal1980 opened this issue Jul 29, 2019 · 9 comments
Closed
2 tasks done

Kubernetes cannot list nodes and is stuck in starting mode #4316

mmisztal1980 opened this issue Jul 29, 2019 · 9 comments

Comments

@mmisztal1980
Copy link

mmisztal1980 commented Jul 29, 2019

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID:
    • C27BC670-6246-4693-8216-8719C39097BF/20190729184718
    • C27BC670-6246-4693-8216-8719C39097BF/20190729185757

Expected behavior

Kubernetes should start successfully.

Actual behavior

Since a few days , kubernetes appears to be stuck in "starting" mode. Resets and factory resets have not helped.

[18:09:36.600][ApiProxy       ][Info   ] time="2019-07-29T18:09:36+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:37.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:37+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:38.598][ApiProxy       ][Info   ] time="2019-07-29T18:09:38+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:39.597][ApiProxy       ][Info   ] time="2019-07-29T18:09:39+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:40.038][DnsUpdater     ][Error  ] Unable to update dns settings: Value cannot be null.
Parameter name: first
[18:09:40.038][DnsUpdater     ][Info   ] Network configuration change detected
[18:09:40.124][DnsUpdater     ][Error  ] Unable to update dns settings: Value cannot be null.
Parameter name: first
[18:09:40.124][DnsUpdater     ][Info   ] Network configuration change detected
[18:09:40.600][ApiProxy       ][Info   ] time="2019-07-29T18:09:40+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:41.596][ApiProxy       ][Info   ] time="2019-07-29T18:09:41+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:42.598][ApiProxy       ][Info   ] time="2019-07-29T18:09:42+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:43.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:43+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:44.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:44+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:45.596][ApiProxy       ][Info   ] time="2019-07-29T18:09:45+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:46.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:46+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:47.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:47+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:48.311][DnsUpdater     ][Error  ] Unable to update dns settings: Value cannot be null.
Parameter name: first
[18:09:48.311][DnsUpdater     ][Info   ] Network configuration change detected
[18:09:48.407][DnsUpdater     ][Error  ] Unable to update dns settings: Value cannot be null.
Parameter name: first
[18:09:48.407][DnsUpdater     ][Info   ] Network configuration change detected
[18:09:48.597][ApiProxy       ][Info   ] time="2019-07-29T18:09:48+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:49.597][ApiProxy       ][Info   ] time="2019-07-29T18:09:49+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:50.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:50+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:51.595][ApiProxy       ][Info   ] time="2019-07-29T18:09:51+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"
[18:09:52.598][ApiProxy       ][Info   ] time="2019-07-29T18:09:52+02:00" msg="Cannot list nodes: Get https://localhost:6445/api/v1/nodes: EOF"

Please advise, how can this be fixed?

@mmisztal1980
Copy link
Author

I've attempted to start Kubernetes again, this time I've checked:

  • Show system containers (advanced)

I don't see any k8s containers running which might be an explanation for the above log message(s)

image

@mmisztal1980
Copy link
Author

Situation continues with the latest version 2.1.0.0 (36874) as of Aug 1st 2019

Diagnostic Id: C27BC670-6246-4693-8216-8719C39097BF/20190731235153

@mmisztal1980
Copy link
Author

mmisztal1980 commented Aug 2, 2019

removing the %ProgramData%/DockerForDesktop/pki as described in #3799 seems to have fixed the issue for me.

@Aaronontheweb
Copy link

Ran into this issue as well. Going to try the fix.

@mmisztal1980
Copy link
Author

@Aaronontheweb any success? I've also noticed that the name of the cluster context seems to have changed, previously it used to be docker-for-desktop, now I'm seeing docker-desktop - possibly related.

@Aaronontheweb
Copy link

Worked for me - resolved my issue

@I333750
Copy link

I333750 commented Apr 21, 2020

not work for me by deleting the pki folder

@ayushbathrey
Copy link

Not working for me , even tried deleting pki directory and adding environment variables.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jul 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants