Oct 25 10:45:13 prod-rancher-04 systemd[1]: Starting Rancher Kubernetes Engine v2 (server)…
Oct 25 10:45:13 prod-rancher-04 sh[18870]: + /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service
Oct 25 10:45:13 prod-rancher-04 sh[18870]: Failed to get unit file state for nm-cloud-setup.service: No such file or directory
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=warning msg=“not running in CIS mode”
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=info msg=“Applying Pod Security Admission Configuration”
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=info msg=“Starting rke2 v1.29.8+rke2r1 (92e522acb6da8cfb1319bd68b5e15f2e4e04f8ff)”
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=warning msg=“Cluster CA certificate is not trusted by the host CA bundle, but the token does not include a CA hash. Use the full token from the server’s node-token file to enable Cluster CA validation.”
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=info msg=“Managed etcd cluster not yet initialized”
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=warning msg=“Cluster CA certificate is not trusted by the host CA bundle, but the token does not include a CA hash. Use the full token from the server’s node-token file to enable Cluster CA validation.”
Oct 25 10:45:13 prod-rancher-04 rke2[18877]: time=“2024-10-25T10:45:13+08:00” level=fatal msg=“starting kubernetes: preparing server: failed to validate server configuration: not authorized”
Oct 25 10:45:13 prod-rancher-04 systemd[1]: rke2-server.service: main process exited, code=exited, status=1/FAILURE
Oct 25 10:45:13 prod-rancher-04 systemd[1]: Failed to start Rancher Kubernetes Engine v2 (server).
Oct 25 10:45:13 prod-rancher-04 systemd[1]: Unit rke2-server.service entered failed state.
Oct 25 10:45:13 prod-rancher-04 systemd[1]: rke2-server.service failed.
尝试后,显示token不完整