又卡到这里了。FAILED - RETRYING: Copy etcdctl binary from docker container (3 retries left).


#1

FAILED - RETRYING: Copy etcdctl binary from docker container (4 retries left).
FAILED - RETRYING: Copy etcdctl binary from docker container (3 retries left).

fatal: [node1]: FAILED! => {“attempts”: 4, “changed”: false, “cmd”: [“sh”, “-c”, “docker rm -f etcdctl-binarycopy; docker create --name etcdctl-binarycopy registry.cn-hangzhou.aliyuncs.com/choerodon-tools/etcd:v3.2.4 && docker cp etcdctl-binarycopy:/usr/local/bin/etcdctl /usr/local/bin/etcdctl && docker rm -f etcdctl-binarycopy”], “delta”: “0:00:00.152531”, “end”: “2018-05-24 17:41:39.987395”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2018-05-24 17:41:39.834864”, “stderr”: “Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?\nCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”, “stderr_lines”: [“Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”, “Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”], “stdout”: “”, “stdout_lines”: []}


#2

请在集群内任意节点执行以下命令看看会有什么信息

docker pull registry.cn-hangzhou.aliyuncs.com/choerodon-tools/etcd:v3.2.4

#3

查了一下,不是源的问题,是脚本安装的docker服务根本没有起来,自己安装的docker又不认。请教怎么解决?

[root@node1 kubeadm-ansible]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since 五 2018-05-25 09:37:54 CST; 7s ago
Docs: https://docs.docker.com
Process: 18211 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
Main PID: 18211 (code=exited, status=1/FAILURE)

5月 25 09:37:53 node1 systemd[1]: Failed to start Docker Application Container Engine.
5月 25 09:37:53 node1 systemd[1]: Unit docker.service entered failed state.
5月 25 09:37:53 node1 systemd[1]: docker.service failed.
5月 25 09:37:54 node1 systemd[1]: docker.service holdoff time over, scheduling restart.
5月 25 09:37:54 node1 systemd[1]: start request repeated too quickly for docker.service
5月 25 09:37:54 node1 systemd[1]: Failed to start Docker Application Container Engine.
5月 25 09:37:54 node1 systemd[1]: Unit docker.service entered failed state.
5月 25 09:37:54 node1 systemd[1]: docker.service failed.


#4

请编辑下面文件

kubeadm-ansible/roles/base/docker/templates/docker-daemon.json.j2

删除第三行

 "storage-driver": "overlay",

再按照安装文档进行安装。


#6

请问这个问题解决了吗


#7

你好,我们提供的脚本并没有问题,请检查服务器软硬件配置,安装时请确保服务器系统"干净",谢谢。