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

narrow-noon-75604

05/05/2022, 11:06 AM
Hi, I am trying to add the agents (worker) nodes to the rke2 server, but the "rke2-agent" service is stuck in "activating" state with an error msg "failed to get CA certs: ". I am unable to find any recommendations for the issue. So please help me in fixing this issue.
b

bland-account-99790

05/05/2022, 11:35 AM
does connectivity between agent and control-plane work?
From the agent, could you check:
nc -zv $control-plane-ip 9345
where $control-plane-ip is the IP of the control-plane
n

narrow-noon-75604

05/05/2022, 11:36 AM
Yes I see that firewalld is blocking the connection so disabled it on all the nodes. Now the first worker node got added, waiting for the rest of the nodes to be added
b

bland-account-99790

05/05/2022, 11:37 AM
👍
n

narrow-noon-75604

05/05/2022, 11:41 AM
nc -zv $control-plane-ip 9345
is connecting from the agent nodes
@bland-account-99790 2 out of 3 worker nodes are added successfully to the master node, the third node is still stuck in activating state with a msg "Waiting to retrieve agent configuration"... any suggestions please
b

bland-account-99790

05/05/2022, 1:34 PM
no ipv4 found?
Can you check the interfaces and routing table of that worker node?
n

narrow-noon-75604

05/05/2022, 1:37 PM
Yes we are using IPV6 and will check the interfaces and routing table
b

bland-account-99790

05/05/2022, 1:39 PM
ipv6-only is currently not supported in rke2, we are working on that https://github.com/rancher/rke2/issues/2861
were you using ipv4 in the other workers and ipv6 on this one?
n

narrow-noon-75604

05/05/2022, 1:40 PM
No I am using IPV6 on all the workers
There is some confusion with IPV4 and IPV6 configured on the worker nodes....Let me check and get back to you....Thanks 🙂
b

bland-account-99790

05/05/2022, 1:42 PM
and the other nodes worked correctly? Interesting. We were seeing some issues
Ok 🙂
58 Views