This message was deleted.
# rke2
a
This message was deleted.
b
I found following error in rke2-agent journal
level=error msg="failed to get CA certs: Get \"<https://127.0.0.1:6444/cacerts>\": EOF"
I had the same error on another node and after I rebooted the node, the rke2 installation succeeded. But I want to understand what changed by rebooting. It shouldn't be a connection problem, since it was working before the update.
For anyone interested: My change to the cloud-init was setting sysctl parameters via a conf.d file and reloading sysctl with
sysctl --system
in the runCmd stage of cloud-init. Somehow this screwed up the rke2 setup/systemd-service. When reloading the sysctl change with
sysctl -p <filepath>
in runCmd it now works again, and the rke2 setup completes successfully.