-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Installation timing out #141
Comments
I am also having the same error with this version 1.0.5, using the same configuration file. |
Are you using an SSH key with a passphrase by chance? If yes, please set |
Hi: The ssh key has no passphrase. |
Hi, does it happen again if you re-run the create command? Just trying to understand if there was a temporary issue for example with the Hetzner API or something |
I don't know if it helps, but the create only works up to version 1.0.2 of 1.0.3 it gives me this same error. |
Do you have the exact same problem with v1.0.5? It's easier for me to investigate with the latest release. Please try with 1.0.5 and let me know what happens exactly |
It gives me exactly the same error, with version v1.0.5. |
Timeout? After how long? |
About 15 minutes for me |
I think I know what the problem might be. Can you try creating a new cluster with 1.0.5 (in a new Hetzner Cloud project) and confirming that it works? If it does I'll give you instructions to fix the other cluster if you still need it. Otherwise if a totally new cluster created with 1.0.5 works as expected you can keep that |
Same error on a new project (using v1.0.5):
Can you re-create it at your end? |
@vitobotta we were facing the same issue today on a fresh macOS install (new Hetzner project) |
About 15 minutes approximately |
Thanks for the info everyone. I am finishing some work stuff and it's getting late but will look into it tomorrow. |
I am gonna take a quick look now.... despite the timeout, were the servers created in the Hetzner Console for you? |
I just created a cluster successfully with your same configuration, without any timeouts or other issues. The only difference is that I used an ed25519 SSH key with a passphrase, so I used the SSH agent on my Mac. I am gonna try with a passwordless key without agent now. Can you please tell me what kind of SSH key you are using? |
If the servers are created. |
Can you please try creating a new cluster in a separate project using 1.0.5? From the output of your command seems that you were running the command in a project were you had run a previous version already. I want to see if the problem you are having is due to a change I made a few versions ago. So if you just re-run the create command on an existing cluster created with 1.0.2 for example, it might not be helpful. So please try creating a new cluster in a new project and let me know if you still see the same issue. |
@Freyrecorp1 and @Privatecoder can you please also try creating a new cluster in a new project using 1.0.5 for the reason I just explained to @kubeworkz ? Thanks! |
I think I found the problem. Can you please re-run the create command even with an existing cluster, but using the SSH agent? Thanks |
I have been using ssh id_rsa and id_rsa.pub and I try with ssh ed25519 and I am warning. |
Can you please try with |
I think I found the problem :) I changed the default OS image from ubuntu-20.04 to the newer 22.04, and it seems that this version has a problem with older RSA keys. I don't want to revert the change because I think it's better to move on to a new version of the OS, which means we have two options:
or
Just to confirm that this is the problem you are having, can you please try a new cluster (in a new hetzner project) using an ed25519 key instead of an old RSA? |
sure, I'll go ahead and check this tomorrow (with |
Will also do that. |
Thanks. I tried also doing the manual change to /etc/ssh/sshd_config mentioned above, and after doing that and restarting ssh the cluster could be created correctly. So it's a problem with old SSH keys :) |
Thank you Vito! Great support! 👍 |
Awesome - thanks for chasing this down Vito! I'll check it out. This is the best tool I've found so far for this exercise... |
Glad to hear that :) I am also looking to see if I can update the Crystal library that I use for SSH connections, to solve the problem at the source. |
Can you share your config? Also so to confirm, you are using 1.0.5 right? |
Perfect, yeah I just added cert-manager. Testing it out now. Ah, didn't know you installed an LB, cool |
Only for the K8s API server if you create an HA cluster for multiple masters. So it's not a LB that you use with applications |
If I'm using v1.0.5 |
Did you try with a new cluster or over an existing one? |
I tried both ways, and with a new project and still nothing, only the servers are created in the hetzner console but from there it stays, it keeps giving me the same error! |
Can you please paste here the output of the tool? |
I was referring to the logs on the servers. Can you SSH manually (with the ssh command, not my tool) into the servers? If yes please run |
The ssh connection to the servers does not work. |
set |
Changing the use_ssh_agent to false and keeping everything else the same in the configuration, I managed to run, I tried the autoscaler and a server is created but not with the autoscaler prefix but with the big as I had indicated in the subject https://github.com //issues/140 |
@Freyrecorp1 at least you are able to create the cluster this way.
|
Glad that you are making progress. Perhaps the new version of the autoscaler has changed the naming convention for the autoscaled nodes. |
If it works with the agent disabled it means that the agent was not used properly |
Did you get the timeouts again with those keys? If yes, can you SSH into the servers manually using the same keys? |
@Privatecoder @Freyrecorp1 @kubeworkz I have released 1.0.6 which configures new servers with Ubuntu 22.04 (and others that deprecate SHA1) to allow using keys with old crypto for now. This is a temporary workaround until libssh2 is updated upstream. Can you please try with this version? Bear in mind that this only affects new servers, so you need to test with a new cluster. If for some reason you want to "fix" an existing cluster, then you need to manually add the line |
Will do |
Thanks! 👍 |
All good at my end. |
Thanks! |
@Privatecoder and @Freyrecorp1 are you still have issues with this or can we close? Thanks |
Everything ok so far, from me you can close it. |
all good :) |
Thanks :) |
Thanks to you Vito. |
Yeah, great tool Vito! |
Hi:
I'm doing a fresh install and I get the following error after about 15 minutes:
My config file is:
I also tried different k3s versions and Hetzner locations.
The text was updated successfully, but these errors were encountered: