如果是 Helm Chart 安装,需要提供 Local 集群的类型(RKE1, RKE2, k3s, EKS, 等)和版本:local集群类型为K3S,k3s版为:v1.27
在线或离线部署:在线部署
主机操作系统:
centos 7.9 问题描述:
通过公有CA证书部署nginx负载均衡到rancher-serve后,通过rancher ui 创建自定义集群,节点注册是提示:“Aborting system-agent installation due to requested strict CA verification with no CA checksum provided”
节点注册报错信息如下:
[INFO] Label: cattle.io/os=linux
[INFO] Role requested: etcd
[INFO] Role requested: controlplane
[INFO] Role requested: worker
[INFO] CA strict verification is set to true
[INFO] Using default agent configuration directory /etc/rancher/agent
[INFO] Using default agent var directory /var/lib/rancher/agent
[FATAL] Aborting system-agent installation due to requested strict CA verification with no CA checksum provided
配置参数之后,节点注册时报错依然存在:
[INFO] Label: cattle.io/os=linux
[INFO] Role requested: etcd
[INFO] Role requested: controlplane
[INFO] Role requested: worker
[INFO] CA strict verification is set to true
[INFO] Using default agent configuration directory /etc/rancher/agent
[INFO] Using default agent var directory /var/lib/rancher/agent
[FATAL] Aborting system-agent installation due to requested strict CA verification with no CA checksum provided
[root@icp01 ~]# curl -fL https://r......g/system-agent-install.sh | sudo sh -s - --server https://r......g --label 'cattle.io/os=linux' --token gkjhf46g5lqmnmntfsfcfrnc8ljt77h6h4g5dgwhw6b7pckt7sn4nh --etcd --controlplane --worker
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33595 0 33595 0 0 125k 0 --:--:-- --:--:-- --:--:-- 125k
[INFO] Label: cattle.io/os=linux
[INFO] Role requested: etcd
[INFO] Role requested: controlplane
[INFO] Role requested: worker
[INFO] CA strict verification is set to true
[INFO] Using default agent configuration directory /etc/rancher/agent
[INFO] Using default agent var directory /var/lib/rancher/agent
[FATAL] Aborting system-agent installation due to requested strict CA verification with no CA checksum provided