我们已使用2.1.0一段时间(centos7.5.1804,在线安装版),最近要扩容节点,运行安装时出错。
[Errno 256] No more mirrors to try.\nhttps://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errn
详细的错误如下:
fatal: [node40]: FAILED! => {“attempts”: 4, “changed”: false, “msg”: "https://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found\nTrying other mirror.\nTo address this issue please refer to the below wiki article \n\nhttps://wiki.centos.org/yum-errors\n\nIf above article doesn’t help to resolve this issue please use https://bugs.centos.org/.\n\n\n\n One of the configured repositories failed (Docker Repository),\n and yum doesn’t have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work \“fix\” this:\n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to point to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the repository (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum –disablerepo=dockerrepo …\n\n 4. Disable the repository permanently, so yum won’t use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use –enablerepo for temporary usage:\n\n yum-config-manager –disable dockerrepo\n or\n subscription-manager repos –disable=dockerrepo\n\n 5. Configure the failing repository to be skipped, if it is unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and thus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-config-manager –save –setopt=dockerrepo.skip_if_unavailable=true\n\nfailure: repodata/repomd.xml from dockerrepo: [Errno 256] No more mirrors to try.\nhttps://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errn
好像是2020年3月份后,yum.dockerproject.org 关闭了,现在是怎么让它指向正确的地址 不知道修改脚本哪里。
求助各位大神。
kubesphere2.1.0在线环境centos7.5,扩容添加node出错
CauchyK零SK壹S
- 建议升级到最新版本
- 不愿意升级的话,可以下载个最新的安装包,把k8s/roles/container-engine 替换一下
是下载2.1.0最新的安装包,还是说下载2.1.1的安装包,去替换目录内容?
CauchyK零SK壹S
下载个2.1.1的,拿里边的k8s/roles/container-engine替换下旧的
noteshareK零S
fatal: [node7]: FAILED! => {
“attempts”: 4,
“changed”: false,
“rc”: 1,
“results”: []
}
MSG:
https://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn’t help to resolve this issue please use https://bugs.centos.org/.
One of the configured repositories failed (Docker-Engine Repository),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=docker-engine ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable docker-engine
or
subscription-manager repos --disable=docker-engine
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=docker-engine.skip_if_unavailable=true
failure: repodata/repomd.xml from docker-engine: [Errno 256] No more mirrors to try.
https://yum.dockerproject.org/repo/main/centos/7/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found