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.

Error adding 3rd node, fresh install

See original GitHub issue

On a fresh install of a 3rd Raspberry Pi running Ubuntu 20.04.2 I got this error:

ubuntu@ubuntu:~$ microk8s join 192.168.1.33:25000/e3f8cf6fd52188d27fb2e134e4451b4f
Contacting cluster at 192.168.1.33
Waiting for this node to finish joining the cluster. ..  
Traceback (most recent call last):
  File "/snap/microk8s/2049/scripts/cluster/join.py", line 967, in <module>
    join_dqlite(connection_parts)
  File "/snap/microk8s/2049/scripts/cluster/join.py", line 900, in join_dqlite       
    update_dqlite(info["cluster_cert"], info["cluster_key"], info["voters"], hostname_override)
  File "/snap/microk8s/2049/scripts/cluster/join.py", line 856, in update_dqlite     
    restart_all_services()
  File "/snap/microk8s/2049/scripts/cluster/join.py", line 784, in restart_all_services
    stderr=subprocess.DEVNULL,
  File "/snap/microk8s/2049/usr/lib/python3.5/subprocess.py", line 581, in check_call    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/snap/microk8s/2049/microk8s-stop.wrapper']' returned non-zero exit status 1

I am unable to start microk8s successfully

Inspect report: inspection-report-20210228_031910.tar.gz

The master node does show that one under datastore master nodes: with my 2nd one.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
balchuacommented, Mar 1, 2021

Let me know how it goes. Usually fresh starting a MicroK8s node can take sometime. I usually i do microk8s status --wait-ready. The error you get above is because you cancelled the status command. ^C

0reactions
balchuacommented, Mar 4, 2021

Thanks @jonshaffer for the information provided. I will go ahead and close this. Feel free to log an issue should you face one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install error from the terminal - Stack Overflow
If npm runs at all, it means node is already installed. npm install is for installing packages. – loganfsmyth. Mar 17, 2014 at...
Read more >
NPM install error - Material Design for Bootstrap
Topic: NPM install error ... i am facing the below problem while installing node modoule Can someone tell me what ... Run npm...
Read more >
Common errors | npm Docs
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >
Install and Configure Additional Nodes - Tableau Help
Click the Configuration tab. A message should tell you that the new node was added. Click Continue to dismiss the message. Cluster Controller...
Read more >
Manage npm packages - Visual Studio (Windows)
Screenshot of the Install New npm Packages dialog. ... To help identify errors, check the npm Output window when installing the packages, ...
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