安装错误:Rancher crashes with the error [FATAL] k3s exited with: exit status 255

使用的是centos8.5 ,rancher:v2.6.3 ,docker :v20.10.9 改成rancher:v2.5.12后正常
错误日志:
2022/05/05 07:43:12 [INFO] Rancher arguments {ACMEDomains: AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/05/05 07:43:12 [INFO] Listening on /tmp/log.sock
2022/05/05 07:43:12 [INFO] Waiting for server to become available: Get “https://127.0.0.1:6443/version?timeout=15m0s”: dial tcp 127.0.0.1:6443: connect: connection refused
2022/05/05 07:43:14 [INFO] Waiting for server to become available: Get “https://127.0.0.1:6443/version?timeout=15m0s”: dial tcp 127.0.0.1:6443: connect: connection refused
2022/05/05 07:43:16 [INFO] Waiting for server to become available: Get “https://127.0.0.1:6443/version?timeout=15m0s”: dial tcp 127.0.0.1:6443: connect: connection refused
2022/05/05 07:43:18 [INFO] Waiting for server to become available: Get “https://127.0.0.1:6443/version?timeout=15m0s”: dial tcp 127.0.0.1:6443: connect: connection refused
2022/05/05 07:43:20 [INFO] Waiting for server to become available: Get “https://127.0.0.1:6443/version?timeout=15m0s”: dial tcp 127.0.0.1:6443: connect: connection refused
2022/05/05 07:43:22 [INFO] Waiting for server to become available: an error on the server (“apiserver not ready”) has prevented the request from succeeding
2022/05/05 07:43:24 [INFO] Waiting for server to become available: an error on the server (“apiserver not ready”) has prevented the request from succeeding
2022/05/05 07:43:26 [INFO] Waiting for server to become available: an error on the server (“apiserver not ready”) has prevented the request from succeeding
2022/05/05 07:43:28 [INFO] Waiting for server to become available: an error on the server (“apiserver not ready”) has prevented the request from succeeding
2022/05/05 07:43:32 [FATAL] k3s exited with: exit status 255

CentOS 8.5 并不在测试支持范围内,最好选择官方测试过的系统:https://www.suse.com/zh-cn/suse-rancher/support-matrix/all-supported-versions/rancher-v2-6-3/

另外,仅仅单从这个问题出发,可以看看是不是cgroup v2的问题:

使用较老的版本centos7.9确实可以了,是不是cgroup v2这个不是知道,有空我去试一下,谢谢