I am trying to setup a Dual-Stack with Calico cluster with the following setup:
Service CIDR: 10.43.0.0/16,fd00:c00b:2::/64
Cluster CIDR: 10.42.0.0/16,fd00:c00b:1::/64
IPv4 and IPv6 on the hosts is configured and working.
If i try to setup cluster i got following error:
level=error msg=“error loading CA cert for probe (kube-controller-manager) /var/lib/rancher/rke2/server/tls/kube-controller-manager/kube-controller-manager.crt: open /var/lib/rancher/rke2/server/tls/kube-controller-manager/kube-controller-manager.crt: no such file or directory”
Aug 29 13:34:44 k8-master rancher-system-agent[3037]: time=“2023-08-29T13:34:44+02:00” level=error msg=“error while appending ca cert to pool for probe kube-controller-manager”
Aug 29 13:34:44 k8-master rancher-system-agent[3037]: time=“2023-08-29T13:34:44+02:00” level=error msg=“error loading CA cert for probe (kube-scheduler) /var/lib/rancher/rke2/server/tls/kube-scheduler/kube-scheduler.crt: open /var/lib/rancher/rke2/server/tls/kube-scheduler/kube-scheduler.crt: no such file or directory”
Aug 29 13:34:44 k8-master rancher-system-agent[3037]: time=“2023-08-29T13:34:44+02:00” level=error msg=“error while appending ca cert to pool for probe kube-scheduler”
Aug 29 13:34:44 k8-master rke2[3240]: time=“2023-08-29T13:34:44+02:00” level=info msg=“Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error”
Aug 29 13:34:49 k8-master rancher-system-agent[3037]: time=“2023-08-29T13:34:49+02:00” level=error msg=“error loading CA cert for probe (kube-controller-manager) /var/lib/rancher/rke2/server/tls/kube-controller-manager/kube-controller-manager.crt: open /var/lib/rancher/rke2/server/tls/kube-controller-manager/kube-controller-manager.crt: no such file or directory”
Aug 29 13:34:49 k8-master rancher-system-agent[3037]: time=“2023-08-29T13:34:49+02:00” level=error msg=“error while appending ca cert to pool for probe kube-controller-manager”
Aug 29 13:34:49 k8-master rancher-system-agent[3037]: time=“2023-08-29T13:34:49+02:00” level=error msg=“error loading CA cert for probe (kube-scheduler) /var/lib/rancher/rke2/server/tls/kube-scheduler/kube-scheduler.crt: open /var/lib/rancher/rke2/server/tls/kube-scheduler/kube-scheduler.crt: no such file or directory”
And the cluster won’t setup. With only IPv4 i don’t have this problem