-
-
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
hetzner-k3s
unable to ssh to masters, but openssh
client can connect no problem
#443
Comments
FYI, I also tried |
I'm just looking at the 2.x release notes and seeing that my config doesn't match the expected format at all. Yet the tool didn't complain about any of it which seems odd. I didn't plan on upgrading to 2.x but it seems 1.1.5 stopped working on network creation (throws a 400 json format error). Ironically if I first let it create the network and servers with 2.0.8 and then abort and downgrade to 1.1.5 everything works fine and it sshs to the nodes and deploys k3s. FWIW, this is the log after unsuccessfully running 2.0.8 and then downgrading to 1.1.5:
So I'd now assume that between 1.1.5 and 2.0.8 there's a regression in the way ssh works. |
The tool expects a YAML file and most settings have default values, so if it doesn't find those settings in your config it will just use the default values, and only complain if required settings that you must specify are missing.
There have been some changes on the Hetzner side that broke the API client functionality for some things, but I didn't want to maintain the 1.x branch anymore since I can only work on this project in my free time.
Not that I am aware of and you are the first person to report this issue since releasing 2.x. Can you share your current, updated configuration? |
I am having the same issue I modified the ssh.cr file to print the error and is giving me the following:
And this is my current configuration:
|
I haven't come across this one before and it looks super weird since the user is always root by default and it should work if the SSH keys are correct. Can you SSH to the nodes manually with the same keys? |
I can |
Which OS are you on? |
I have fixed my issue, so in my specific situation i was building it locally and didn't have the proper version on libssh2. My previous version was:
I installed the latest version and now it works |
Glad you figured it out |
Basically what the title says. I upgraded
hetzner-k3s
to 2.0.8 and tried to create a new cluster. It creates the master nodes but then can't ssh to them. When I manually ssh it works just fine.It's never able to ssh to the master nodes, but if I just manually try I can connect to all of them no problem:
My config:
Any ideas what might go wrong?
The text was updated successfully, but these errors were encountered: