aloof-dentist-47314
04/14/2025, 2:58 PMaloof-dentist-47314
04/14/2025, 3:05 PMApr 14 13:20:09 <http://master1.com|master1.com> rancher-system-agent[7707]: time="2025-04-14T13:20:09Z" level=error msg="error loading x509 client cert/key for probe kube-apiserver (/var/lib/rancher/rke2/server/tls/client-kube-apiserver.>
Apr 14 13:20:09 <http://master1.com|master1.com> rancher-system-agent[7707]: time="2025-04-14T13:20:09Z" level=error msg="error loading CA cert for probe (kube-apiserver) /var/lib/rancher/rke2/server/tls/server-ca.crt: open /var/lib/ranch>
Apr 14 13:20:09 <http://master1.com|master1.com> rancher-system-agent[7707]: time="2025-04-14T13:20:09Z" level=error msg="error while appending ca cert to pool for probe kube-apiserver"
the file /var/lib/rancher/rke2/server/tls/server-ca.crt was on the configured directory in /etc/rancher/rke2/config.yaml
After some research I found this https://github.com/rancher/rancher/issues/37802#issuecomment-1136437259
This limitation continues? I'm surprised it worked with the workers.
I found here support for a env var RKE2_DATA_DIR, I tried export the var and add the node, but same result
https://github.com/rancher/system-agent-installer-rke2/commits/main/package/run.shcreamy-pencil-82913
04/14/2025, 5:11 PMaloof-dentist-47314
05/07/2025, 3:34 PM