vitobotta / hetzner-k3s

The easiest and fastest way to create and manage Kubernetes clusters in Hetzner Cloud using the lightweight distribution k3s by Rancher.
MIT License
1.83k stars 139 forks source link

Hanging on ssh connectivity with server #364

Closed sujeeruban closed 2 months ago

sujeeruban commented 5 months ago

Hi, I tried to set up a k3s cluster with disabled external interfaces but encountered the following error. There are no firewall blocks. could you please help me on this?

Validating configuration......configuration seems valid.

=== Creating infrastructure resources === Creating firewall...done. Creating SSH key...done. Creating placement group rge-test-masters...done. Placement group rge-test-arm-1 already exists, skipping. Creating server rge-test-cax11-pool-arm-worker2... Creating server rge-test-cax11-master1... Creating server rge-test-cax11-pool-arm-worker1... ...server rge-test-cax11-pool-arm-worker1 created. ...server rge-test-cax11-pool-arm-worker2 created. ...server rge-test-cax11-master1 created. Server rge-test-cax11-master1 already exists, skipping. Waiting for successful ssh connectivity with server rge-test-cax11-master1... Server rge-test-cax11-pool-arm-worker1 already exists, skipping. Waiting for successful ssh connectivity with server rge-test-cax11-pool-arm-worker1... Server rge-test-cax11-pool-arm-worker2 already exists, skipping. Waiting for successful ssh connectivity with server rge-test-cax11-pool-arm-worker2...

Did I miss something?

hetzner_token: "" cluster_name: rge-test kubeconfig_path: "./kubeconfig" k3s_version: v1.26.5+k3s1 public_ssh_key_path: "~/.ssh/id_rsa.pub" private_ssh_key_path: "~/.ssh/id_rsa" use_ssh_agent: true ssh_allowed_networks:

ajaysourcedigital commented 3 months ago

same issue with me.

vitobotta commented 2 months ago

Hi, rc1 of v2 is now available and includes some changes that should help with these issues. Would you be able to help with testing? if yes see https://github.com/vitobotta/hetzner-k3s/discussions/385 for details. Thanks

vitobotta commented 2 months ago

v2 is going to be released next weekend with lots of improvements that address various reasons for hanging. So I am closing this - please open a separate issue if you can still reproduce this kind of issue with v2. Thanks!