chris-short / rak8s

Stand up a Raspberry Pi based Kubernetes cluster with Ansible
MIT License
365 stars 112 forks source link

Master node cannot join cluster #19

Closed HannanSolo closed 5 years ago

HannanSolo commented 6 years ago

Thanks to @chris-short PR it did fix our problem to init master, but right after when master tries to join kubernetes cluster, it just hangs.

TASK [master : Join Kubernetes Cluster] ***************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|succeeded` 
instead use `result is succeeded`. This feature will be removed in version 2.9. Deprecation warnings 
can be disabled by setting deprecation_warnings=False in ansible.cfg.

@asachs01 Did you ever get past this problem as well?

asachs01 commented 6 years ago

I got past it after pulling down the latest release.

HannanSolo commented 6 years ago

@asachs01 Did you do anything to the pi's , or just pull and rerun ?

asachs01 commented 6 years ago

Just pulled it and reran, though I'm running into an issue with services starting properly atm.

HannanSolo commented 6 years ago

Hm, I reran it and still stuck on the Joining of the master cluster, for 25 mins so far.

chris-short commented 6 years ago

What task is running from the playbook? What does htop say is happening on the box?

On Mon, Apr 9, 2018 at 21:01 Hannan Rhodes notifications@github.com wrote:

Hm, I reran it and still stuck on the Joining of the master cluster, for 25 mins so far.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rak8s/rak8s/issues/19#issuecomment-379940393, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVB-c2JM7V895L4qvDXmR71dR6cW2ltks5tnARUgaJpZM4TNbRk .

--

Chris Short https://chrisshort.net https://devopsish.com

HannanSolo commented 6 years ago

Right now TASK [master : Join Kubernetes Cluster] is running and htop says its using around 4% cpu on my host computer, and a few kube services on my master pi.

chris-short commented 6 years ago

I apologize @HannanSolo for the delayed response. What series Pi are you running?

HannanSolo commented 6 years ago

I'm using 6 PI 3 B+

chris-short commented 6 years ago

Hmm... This is a tough one. Anything in the .log/ansible.log?

If not, what happens during that task when you run it with verbosity?

samousavih commented 6 years ago

I hav the same issue

chris-short commented 5 years ago

With the latest release is this still an issue?

HannanSolo commented 5 years ago

Just checked and worked perfectly, thanks a ton!