https://rancher.com/ logo
#rke2
Title
o

orange-cpu-47176

08/18/2022, 3:50 PM
hello i have a problem installing rke2 on a bare metal with vmware esxi7 and centos 8 stream. Basically after installation via script
curl -sfL <https://get.rke2.io> | sh -
, which happens correctly, at the command
systemctl start rke2-server.service
the cluster does not go up. From what I understand from looking at the logs, containerd fails to connect to index.docker.io. Do you have any solutions? I’ll preface this by saying that docker is running normally.
s

stale-fish-49559

08/18/2022, 5:28 PM
try doing a ping or curl on the index.docker.io do you have a connectionto it?
o

orange-cpu-47176

08/18/2022, 7:31 PM
Yes, it works with ping
s

stale-fish-49559

08/18/2022, 8:19 PM
ping ok but how about curl?
possibly hit a limit on requests to docker?
you have a firewall blocking https traffic
o

orange-cpu-47176

08/19/2022, 6:27 AM
curl does not return me any value. On the VM Centos Firewall is disabled
the final error of
rke2 server --debug
is
FATA[0029] failed to get runtime image <http://index.docker.io/rancher/rke2-runtime:v1.23.9-rke2r1|index.docker.io/rancher/rke2-runtime:v1.23.9-rke2r1>: all endpoints failed: Get "<https://index.docker.io/v2/>": dial tcp: i/o timeout
s

stale-fish-49559

08/19/2022, 7:41 PM
seems like network issue
you cannot curl then probably you have something blocking it
somewhere
or DNS?
o

orange-cpu-47176

08/20/2022, 10:54 AM
ok i will check deeply problem’s connections. Tnx
ok my vm is connected to internet and the firewall is deactivated, but nothing is changed. And to prevent docker from creating conflicts with containerd, I uninstalled it.
397 Views