Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Cert Generation Error #19

Open
MetalJacx opened this issue Jan 4, 2022 · 0 comments
Open

Auto Cert Generation Error #19

MetalJacx opened this issue Jan 4, 2022 · 0 comments

Comments

@MetalJacx
Copy link

Hello,

When specifying specific address for node deployment. I receive the following error for the CA, cert, and key. My assumption was these would just get auto generated as when addresses aren't specified. So, when adding certs in manually the error goes away, but then kube-* services are all unhealthy and stay unhealthy.

Config File:

kubernetesVersion: v1.21.5+rke2r2
role: cluster-init
token: somethingrandom
rancherValues:
  features: multi-cluster-management=true
nodeName: metal00
address: 10.117.0.112
internalAddress: 10.117.0.12
extraConfig: {
  cni: calico
}

Received Error message:

INFO[0014] [stderr]: time="2022-01-04T08:59:49-07:00" level=error msg="error while appending ca cert to pool"
INFO[0016] [stderr]: time="2022-01-04T08:59:51-07:00" level=error msg="error loading x509 client cert/key (/var/lib/rancher/rke2/server/tls/client-kube-apiserver.crt//var/lib/rancher/rke2/server/tls/client-kube-apiserver.key): open /var/lib/rancher/rke2/server/tls/client-kube-apiserver.crt: no such file or directory"
INFO[0016] [stderr]: time="2022-01-04T08:59:51-07:00" level=error msg="error loading CA cert /var/lib/rancher/rke2/server/tls/server-ca.crt: open /var/lib/rancher/rke2/server/tls/server-ca.crt: no such file or directory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants