-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Error creating instance: Expected Array or Hash, not Nil #541
Comments
OK, I have seen #418 and then realized that deleting |
Alright, it happened again (it's related to private-network only setups, I am pretty sure...)
And the next run yields |
I just reproduced the issue with the public network turned off. In this setup, when the tool attempts to install k3s, it tries to fetch the right version from https://get.k3s.io. However, since the node isn't connected to the internet via a public interface, it can’t access the web and thus fails to install. Could you give it another go using a NAT gateway setup? I’ll do the same test on my end. I will also add some exception handling to hetzner-k3s to spot when the nodes can't access the internet. |
Is there a special way to indicate a NAT setup in the cluster config? I have NAT setup properly. The node I execute |
I got it working nicely. I will write a doc page on this in a bit. |
Can't wait ... (to spend my evening with my new shiny cluster) |
Here's the page: /~https://github.com/vitobotta/hetzner-k3s/blob/main/docs/Private_clusters_with_public_network_interface_disabled.md I've tested this configuration several times, and every time the cluster is set up properly. I'll update the page once I find some time to test it with other Linux versions. |
Thank you so much! I finally got it working properly. |
I have reopened this as another reminder to address the autoscaler as well. |
I am glad that your problem is solved and I should also remind you that in a cluster configured as nat-gateway, especially the
Do not forget to add the cloud-init command. If not uninstalled, the hc-utils package cuts network access directly and we may have to restart the machine. (hetzner has already mentioned this in the FAQ. https://docs.hetzner.com/cloud/networks/faq) ![]() |
Thanks for the reminder @mertcangokgoz ! I updated the reference page with sample config. |
Hi,
I have the feeling it's a problem with the Hetzner API or something, but I am getting this since yesterday night. I was assuming some sort of rate-limiting because I played around with cluster creation and created many clusters in short time.
However, since it happens still, I wanted to raise this here. Is there a way to see the API responses?
longer log:
And in case it's required, my config:
The text was updated successfully, but these errors were encountered: