gpt4 book ai didi

kubernetes - kubespray部署无法在https://apt.dockerproject.org/gpg下载 key :HTTP错误404:未找到

转载 作者:行者123 更新时间:2023-12-02 12:01:14 27 4
gpt4 key购买 nike

在Ubuntu 16.04中,我尝试使用Ansible Playbook部署Kubespray2.5(2.9.7)命令并出现错误:

我已经在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日关闭。

您的剧本已过时;您可以自行购买新版本或根据链接说明进行调整。

关于kubernetes - kubespray部署无法在https://apt.dockerproject.org/gpg下载 key :HTTP错误404:未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61718221/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com