https://rancher.com/ logo
Title
a

ambitious-plastic-3551

12/14/2022, 8:23 PM
How is it impossible to bootup rke2 server
c

creamy-pencil-82913

12/14/2022, 8:32 PM
great question
how indeed?
a

ambitious-plastic-3551

12/14/2022, 8:33 PM
just the right person
Waiting for control-plane node ... not found
and huge stack trace
c

creamy-pencil-82913

12/14/2022, 8:33 PM
are you talking about Rancher?
RKE2 doesn’t have a message like that
a

ambitious-plastic-3551

12/14/2022, 8:33 PM
rke2 server
F1214 21:33:33.189029 5900 csi_plugin.go:311] Failed to initialize CSINode after retrying: timed out waiting for the condition
this is from the logs when I do rke2 server
c

creamy-pencil-82913

12/14/2022, 8:34 PM
you might start by describing how you installed RKE2, what your configuration looks like, and how you’re starting the service
a

ambitious-plastic-3551

12/14/2022, 8:35 PM
Yes, I tried first Ubuntu 22.04LTS with The quick start and my custom tailored config.yaml
c

creamy-pencil-82913

12/14/2022, 8:35 PM
Does it work if you don’t customize the configuration?
It should just work out of the box, if you don’t change anything
a

ambitious-plastic-3551

12/14/2022, 8:36 PM
let me try
c

creamy-pencil-82913

12/14/2022, 8:36 PM
what all are you configuring
You should probably uninstall and reinstall to confirm that there’s not anything left from a bad initial configuration
a

ambitious-plastic-3551

12/14/2022, 8:36 PM
cluster-cidr: 172.20.0.0/16 cluster-domain: mgmt.apps.ethercom.net disable: - rke-ingress-nginx node-external-ip: 217.76.54.138 node-ip: 10.0.4.2 node-label: ethercom.net/environment: mgmt ethercom.net/type: server #node-taint: # - "CriticalAddonsOnly=true:NoExecute" selinux: true service-cir: 172.24.0.0/16 tls-san: - control-plane.k8s.mgmt.cc.ethercom.net
this is what I have done
nothing out of the ordinary
c

creamy-pencil-82913

12/14/2022, 8:38 PM
you’re using selinux on ubuntu? That is not generally well supported, as the rke2-selinux RPM can’t be installed on ubuntu…
a

ambitious-plastic-3551

12/14/2022, 8:38 PM
no no this is now on Rocky Linux
c

creamy-pencil-82913

12/14/2022, 8:38 PM
oh that would be good to disclose
a

ambitious-plastic-3551

12/14/2022, 8:38 PM
I skipped selinux on Ubuntu
Other than that it's the same
c

creamy-pencil-82913

12/14/2022, 8:38 PM
also, it’s rke2-ingress-nginx not rke-ingress-nginx
but that wouldn’t break anything
also, should be
node-label:
- <http://ethercom.net/environment=mgmt|ethercom.net/environment=mgmt>
- <http://ethercom.net/type=server|ethercom.net/type=server>
a

ambitious-plastic-3551

12/14/2022, 8:40 PM
ok, let me try
c

creamy-pencil-82913

12/14/2022, 8:40 PM
There are no config options that take nested maps
should be
key: val
or
key: [val1, val2]
or the multiline equivalent
and `service-cir`: should be
service-cidr:
I think?
lots of typos in your config here
a

ambitious-plastic-3551

12/14/2022, 8:41 PM
😞
normally I am very careful
Huh, it might work now 😮
You've been very helpful, thank you 😄
Seems like Rocky Linux is better now, there was a version or maybe ISP version where once you installed rke2 and did reboot, it broke the grub (MBR)