question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Node not found error

See original GitHub issue

Upon installation on a fresh ubuntu system, I could not get the daemon-kubelet to start.

Mar 21 16:56:09 to_the_moon microk8s.daemon-kubelet[22979]: E0321 16:56:09.296705   22979 kubelet.go:2266] node "to_the_moon" not found
Mar 21 16:56:09 to_the_moon microk8s.daemon-kubelet[22979]: E0321 16:56:09.397054   22979 kubelet.go:2266] node "to_the_moon" not found
Mar 21 16:56:09 to_the_moon microk8s.daemon-kubelet[22979]: E0321 16:56:09.497314   22979 kubelet.go:2266] node "to_the_moon" not found
Mar 21 16:56:09 to_the_moon microk8s.daemon-kubelet[22979]: E0321 16:56:09.597602   22979 kubelet.go:2266] node "to_the_moon" not found

microk8s.status returns: microk8s is not running. Use microk8s.inspect for a deeper inspection.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
lazzarellocommented, Feb 13, 2020

Change your hostname.

Every time I change the hostname of the base OS after microk8s is installed, it completely breaks microk8s.

user@time-buddy:~$ sudo snap refresh microk8s --channel=1.15/stable --classic
microk8s (1.15/stable) v1.15.9 from Canonical✓ refreshed
user@time-buddy:~$ kubectl get nodes
NAME          STATUS     ROLES    AGE   VERSION
clock-buddy   NotReady   <none>   45h   v1.15.9
time-buddy    Ready      <none>   45h   v1.15.10
user@time-buddy:~$ microk8s.reset
Calling clean_cluster
Error from server (Conflict): Operation cannot be fulfilled on namespaces "ingress-nginx": The system is ensuring all content is removed from this namespace.  Upon completion, this namespace will automatically be purged by the system.
1reaction
joeky888commented, Aug 19, 2019

Change your hostname.

Your hostname to_the_moon contains invalid underscore character.

Rename your hostname to to-the-moon and Run microk8s.reset again should be fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not Found Error in NodeJS - Stack Overflow
Not Found Error in NodeJS · Probably you are trying to get page with route you have not. – Vladimir G. · HTTP...
Read more >
Installing Nodejs: sh: node: command not found error - Intellipaat
The command not found error you are getting because your PATH does not include the location of the node executable. So you can...
Read more >
How to Fix "npm command not found" Error {Node JS}
Solution 3 - How to Fix npm command not found - Mac · Step1 - Remove the node_modules folder · Step2 - Uninstall...
Read more >
Node not found error using get_node(). how to solve?
The get_node() function needs a node path based on the layout of the nodes in the scene, not in your res:// directory.
Read more >
npm command not found | Career Karma
The Npm command not found error can appear when you install or upgrade npm. On Windows, the cause of this error could be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found