This message was deleted.
# rke2
a
This message was deleted.
c
great question
how indeed?
a
just the right person
Waiting for control-plane node ... not found
and huge stack trace
c
are you talking about Rancher?
RKE2 doesn’t have a message like that
a
rke2 server
F1214 213333.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
you might start by describing how you installed RKE2, what your configuration looks like, and how you’re starting the service
a
Yes, I tried first Ubuntu 22.04LTS with The quick start and my custom tailored config.yaml
c
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
let me try
c
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
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
you’re using selinux on ubuntu? That is not generally well supported, as the rke2-selinux RPM can’t be installed on ubuntu…
a
no no this is now on Rocky Linux
c
oh that would be good to disclose
a
I skipped selinux on Ubuntu
Other than that it's the same
c
also, it’s rke2-ingress-nginx not rke-ingress-nginx
but that wouldn’t break anything
also, should be
Copy code
node-label:
- <http://ethercom.net/environment=mgmt|ethercom.net/environment=mgmt>
- <http://ethercom.net/type=server|ethercom.net/type=server>
a
ok, let me try
c
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
😞
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)