Kubespray: Shutting down dockerproject.org APT and YUM repos 2020-03-31

Created on 14 Feb 2020  路  1Comment  路  Source: kubernetes-sigs/kubespray

Installation failed due to Docker repo changed

kubespray version - v1.13.3
os version - centos 7

file : kubespray/roles/container-engine/docker/tasks/main.yml:112

```
fatal: [k8s-master]: FAILED! => {"changed": false, "msg": "Error from repoquery: ['/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '--disablerepo', '', '--enablerepo', '', '--qf', '%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}', 'container-selinux']: Could not match packages: failure: repodata/repomd.xml from docker-engine: [Errno 256] No more mirrors to try.\nhttps://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found\n"}


[root@k8s-node yum.repos.d]# curl https://yum.dockerproject.org/repo/main/centos/7




Notice: Shutting down dockerproject.org APT and YUM repos 2020-03-31


Docker will be shutting down the deprecated APT and YUM repositories hosted at "dockerproject.org" and "dockerproject.com" on the 31st of March 2020.


We noticed that this project is referencing one of these repositories, and recommend updating to use the "download.docker.com" repository to prevent disruption.


More info: https://www.docker.com/blog/changes-dockerproject-org-apt-yum-repositories/



kinbug

Most helpful comment

issue resolved :

Go to - kubespray/roles/container-engine/docker/defaults/main.yml:42

Replace Following 4 lines according to OS
```
dockerproject_rh_repo_base_url: 'https://download.docker.com/linux/centos/7/$basearch/stable'
dockerproject_rh_repo_gpgkey: 'https://download.docker.com/linux/centos/gpg'
dockerproject_apt_repo_base_url: 'https://download.docker.com/linux/debian'
dockerproject_apt_repo_gpgkey: 'https://download.docker.com/linux/debian/gpg'

>All comments

issue resolved :

Go to - kubespray/roles/container-engine/docker/defaults/main.yml:42

Replace Following 4 lines according to OS
```
dockerproject_rh_repo_base_url: 'https://download.docker.com/linux/centos/7/$basearch/stable'
dockerproject_rh_repo_gpgkey: 'https://download.docker.com/linux/centos/gpg'
dockerproject_apt_repo_base_url: 'https://download.docker.com/linux/debian'
dockerproject_apt_repo_gpgkey: 'https://download.docker.com/linux/debian/gpg'

Was this page helpful?
0 / 5 - 0 ratings