kubespray 部署无法在 https://apt.dockerproject.org/gpg 下载密钥:HTTP 错误 404:未找到
kubespray deployment Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found
在 Ubuntu 16.04
我正在尝试使用 Ansible Playbook(2.9.7)
命令部署 Kubespray2.5
并收到错误:
我已经多次使用 2.5 版部署 kubespray,但只有这一次我遇到了这个错误。
请帮帮我。
ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml
TASK [docker : ensure docker-engine repository public key is installed] *******************************************************
Friday 08 May 2020 16:28:44 +0530 (0:00:20.450) 0:04:46.454 ************
FAILED - RETRYING: ensure docker-engine repository public key is installed (4 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (4 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (4 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (3 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (3 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (3 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (2 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (2 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (2 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (1 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (1 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (1 retries left).
failed: [node2] (item=58118E89F3A912897C070ADBF76221572C52609D) => {"attempts": 4, "changed": false, "item": "58118E89F3A912897C070ADBF76221572C52609D", "msg": "Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found"}
failed: [node3] (item=58118E89F3A912897C070ADBF76221572C52609D) => {"attempts": 4, "changed": false, "item": "58118E89F3A912897C070ADBF76221572C52609D", "msg": "Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found"}
failed: [node1] (item=58118E89F3A912897C070ADBF76221572C52609D) => {"attempts": 4, "changed": false, "item": "58118E89F3A912897C070ADBF76221572C52609D", "msg": "Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found"}
NO MORE HOSTS LEFT ************************************************************************************************************
to retry, use: --limit @/root/kubespray/cluster.retry
PLAY RECAP ********************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0
node1 : ok=62 changed=0 unreachable=0 failed=1
node2 : ok=64 changed=0 unreachable=0 failed=1
node3 : ok=62 changed=9 unreachable=0 failed=1
https://apt.dockerproject.org/ 存储库已于 2020 年 3 月 31 日关闭。
你的剧本已经过时了;获取更新版本或根据链接说明自行调整。
在 Ubuntu 16.04
我正在尝试使用 Ansible Playbook(2.9.7)
命令部署 Kubespray2.5
并收到错误:
我已经多次使用 2.5 版部署 kubespray,但只有这一次我遇到了这个错误。 请帮帮我。
ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml
TASK [docker : ensure docker-engine repository public key is installed] *******************************************************
Friday 08 May 2020 16:28:44 +0530 (0:00:20.450) 0:04:46.454 ************
FAILED - RETRYING: ensure docker-engine repository public key is installed (4 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (4 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (4 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (3 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (3 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (3 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (2 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (2 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (2 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (1 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (1 retries left).
FAILED - RETRYING: ensure docker-engine repository public key is installed (1 retries left).
failed: [node2] (item=58118E89F3A912897C070ADBF76221572C52609D) => {"attempts": 4, "changed": false, "item": "58118E89F3A912897C070ADBF76221572C52609D", "msg": "Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found"}
failed: [node3] (item=58118E89F3A912897C070ADBF76221572C52609D) => {"attempts": 4, "changed": false, "item": "58118E89F3A912897C070ADBF76221572C52609D", "msg": "Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found"}
failed: [node1] (item=58118E89F3A912897C070ADBF76221572C52609D) => {"attempts": 4, "changed": false, "item": "58118E89F3A912897C070ADBF76221572C52609D", "msg": "Failed to download key at https://apt.dockerproject.org/gpg: HTTP Error 404: Not Found"}
NO MORE HOSTS LEFT ************************************************************************************************************
to retry, use: --limit @/root/kubespray/cluster.retry
PLAY RECAP ********************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0
node1 : ok=62 changed=0 unreachable=0 failed=1
node2 : ok=64 changed=0 unreachable=0 failed=1
node3 : ok=62 changed=9 unreachable=0 failed=1
https://apt.dockerproject.org/ 存储库已于 2020 年 3 月 31 日关闭。
你的剧本已经过时了;获取更新版本或根据链接说明自行调整。