Closed grouvie closed 2 years ago
Relevant part:
2022-09-28 14:29:36 Executing `bash`:
Permission to access 'https://rpm.rancher.io/k3s/stable/common/microos/noarch/repodata/repomd.xml' denied.
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Error building the cache:
The server could not communicate with k3s mirror to fetch packages for microos. Is this reproducable for you @grouvie? The URL 'https://rpm.rancher.io/k3s/stable/common/microos/noarch/repodata/repomd.xml' works fine from here. If it is: Do you have any extra firewall rules in place? Otherwise it could just be unlucky timing (i.e. some sort of maintenance on the mirrors side)=
The url also works fine for me in my browser. Curl in wsl works, too. Just when I use the script it does not seem to work.
You've tried it more than once?
Yes. I tried it multiple times yesterday and today.
@grouvie Trying again in this context means destroying fully, and redoing. That's what you did?
And also start fresh from a new Hetzner project!
Also please do share your kube.tf without the sensitive values if you can.
Starting from a fresh Hetzner project did the trick. Thanks a lot for the help.
I used the renamed kube.tf.example with adjusted keys and token.
When running the script with the default configuration I get the following error:
Any clues what is causing this and how to fix it?