Rancher Server 设置
- Rancher 版本:2.7.5
- 安装选项 (Docker install/Helm Chart): Docker install
- 如果是 Helm Chart 安装,需要提供 Local 集群的类型(RKE1, RKE2, k3s, EKS, 等)和版本:
- 在线或离线部署:在线部署
下游集群信息
- Kubernetes 版本:
- Cluster Type (Local/Downstream):
- 如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等):
用户信息
- 登录用户的角色是什么? (管理员/集群所有者/集群成员/项目所有者/项目成员/自定义):
- 如果自定义,自定义权限集:
主机操作系统:
centos7.9 升级了内核
问题描述:
在使用docker安装rancher。执行docker run 命令之后,直接查看k3s.log,有以下错误。。
docker run 命令:
docker run -itd
-p 80:80
-p 443:443
-v /data/rancher/data:/var/lib/rancher
-v /etc/localtime:/etc/localtime
–privileged
–restart=always
–name rancher
rancher/rancher:v2.7.5
错误信息:
E0714 22:51:53.231656 62 remote_runtime.go:193] “RunPodSandbox from runtime service failed” err=“rpc error: code = DeadlineExceeded desc = failed to get sandbox image "rancher/mirrored-pause:3.6": failed to pull image "rancher/mirrored-pause:3.6": failed to pull and unpack image "docker.io/rancher/mirrored-pause:3.6": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/62/6270bb605e12e581514ada5fd5b3216f727db55dc87d5889c790e4c760683fee/data?verify=1720971683-W7%!B(MISSING)Z1K7bV36FxZ9tTttDM1nQATE%!D(MISSING)\”: dial tcp 199.59.148.209:443: i/o timeout"
E0714 22:51:53.231701 62 kuberuntime_sandbox.go:72] “Failed to create sandbox for pod” err=“rpc error: code = DeadlineExceeded desc = failed to get sandbox image "rancher/mirrored-pause:3.6": failed to pull image "rancher/mirrored-pause:3.6": failed to pull and unpack image "docker.io/rancher/mirrored-pause:3.6": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/62/6270bb605e12e581514ada5fd5b3216f727db55dc87d5889c790e4c760683fee/data?verify=1720971683-W7%!B(MISSING)Z1K7bV36FxZ9tTttDM1nQATE%!D(MISSING)\”: dial tcp 199.59.148.209:443: i/o timeout" pod=“cattle-system/helm-operation-hppv2”
E0714 22:51:53.231726 62 kuberuntime_manager.go:1171] “CreatePodSandbox for pod failed” err=“rpc error: code = DeadlineExceeded desc = failed to get sandbox image "rancher/mirrored-pause:3.6": failed to pull image "rancher/mirrored-pause:3.6": failed to pull and unpack image "docker.io/rancher/mirrored-pause:3.6": failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/62/6270bb605e12e581514ada5fd5b3216f727db55dc87d5889c790e4c760683fee/data?verify=1720971683-W7%!B(MISSING)Z1K7bV36FxZ9tTttDM1nQATE%!D(MISSING)\”: dial tcp 199.59.148.209:443: i/o timeout" pod=“cattle-system/helm-operation-hppv2”
E0714 22:51:53.231775 62 pod_workers.go:1300] “Error syncing pod, skipping” err=“failed to "CreatePodSandbox" for "helm-operation-hppv2_cattle-system(e7d41372-6803-4541-91f1-765bf531f0f8)" with CreatePodSandboxError: "Failed to create sandbox for pod \"helm-operation-hppv2_cattle-system(e7d41372-6803-4541-91f1-765bf531f0f8)\": rpc error: code = DeadlineExceeded desc = failed to get sandbox image \"rancher/mirrored-pause:3.6\": failed to pull image \"rancher/mirrored-pause:3.6\": failed to pull and unpack image \"docker.io/rancher/mirrored-pause:3.6\": failed to copy: httpReadSeeker: failed open: failed to do request: Get \"https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/62/6270bb605e12e581514ada5fd5b3216f727db55dc87d5889c790e4c760683fee/data?verify=1720971683-W7%!B(MISSING)Z1K7bV36FxZ9tTttDM1nQATE%!D(MISSING)\\\”: dial tcp 199.59.148.209:443: i/o timeout"" pod=“cattle-system/helm-operation-hppv2” podUID=“e7d41372-6803-4541-91f1-765bf531f0f8”
重现步骤:
结果:
预期结果:
截图:
其他上下文信息:
日志