This message was deleted.
# general
a
This message was deleted.
c
Did you open the correct ports on the server?
l
Hi, I tried disabling the firewall to start with as suggested here - https://www.reddit.com/r/rancher/comments/17va99x/rke2_install_failing_on_step_1_for_fresh_ubuntu/
Check that those ports are open on any firewalls or security groups between the nodes
l
Aye, I saw that but wouldn’t disabling the firewall work also?
This is all on 1 Ubuntu VM
(1 node cluster)
c
Wait you're trying to run the server and the agent on the same host?
You can't do that.
The server has an agent built into it
l
oh
c
You're just installing the agent over the top of the server and trying to connect it to itself
l
What I’m trying to do is create a RKE2 cluster with 1 node by manually installing the RKE2 components
And then have Rancher server on a separate VM connect to an existing cluster
c
There is only one component. Just install a single server node if you want a one node cluster
l
Using the “Custom” option
c
Don't install rke2 first if you're going to do that
Once you create the custom cluster it will give you a command to run that will install the rancher system agent and rke2
l
Ok, I have Rancher server up and running on a Ubuntu VM already as a container, ready to connect to a “Custom” cluster
c
I would start over and follow the docs. Your doing a bunch of unnecessary stuff here.
l
ah I see, so all have to do on the 1 node cluster is the portion to get
rke2-server.service
running?
I see what you mean about the custom cluster process. I hadn’t tried this yet with the assumption I needed to do both the server and agent on the node before I tried to register a custom cluster with Rancher server. I’ll give this a try, thanks!
c
if you’re using Rancher to provision the cluster, just look at the Rancher docs. The RKE2 install docs are only to be used if you are installing and managing RKE2 standalone.
l