目前服务器操作系统版本是centos7.5,部署了kubesphere2.0.2集群,今天在离线升级的时候遇到了一点问题导致升级失败,请各位看下,有没有什么解决方案,十分感谢
2019-12-24 11:59:50,808 p=15879 u=root | changed: [node2]
2019-12-24 11:59:50,979 p=15879 u=root | TASK [prepare/nodes : Set kubectl bash completion file] *******************************
2019-12-24 11:59:50,979 p=15879 u=root | Tuesday 24 December 2019 11:59:50 +0800 (0:00:00.905) 0:00:16.362 ******
2019-12-24 11:59:51,151 p=15879 u=root | skipping: [master]
2019-12-24 11:59:51,355 p=15879 u=root | ok: [node1]
2019-12-24 11:59:51,509 p=15879 u=root | ok: [node2]
2019-12-24 11:59:51,646 p=15879 u=root | TASK [prepare/nodes : Ceph RBD | Installing ceph-common (APT)] ************************
2019-12-24 11:59:51,646 p=15879 u=root | Tuesday 24 December 2019 11:59:51 +0800 (0:00:00.667) 0:00:17.029 ******
2019-12-24 11:59:51,816 p=15879 u=root | skipping: [master]
2019-12-24 11:59:52,012 p=15879 u=root | skipping: [node1]
2019-12-24 11:59:52,064 p=15879 u=root | skipping: [node2]
2019-12-24 11:59:52,243 p=15879 u=root | TASK [prepare/nodes : Ceph RBD | Installing ceph-common (YUM)] ************************
2019-12-24 11:59:52,243 p=15879 u=root | Tuesday 24 December 2019 11:59:52 +0800 (0:00:00.597) 0:00:17.626 ******
2019-12-24 11:59:55,048 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (5 retries left).
2019-12-24 11:59:56,253 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (5 retries left).
2019-12-24 11:59:57,206 p=15879 u=root | changed: [master]
2019-12-24 12:00:01,787 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (4 retries left).
2019-12-24 12:00:02,923 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (4 retries left).
2019-12-24 12:00:08,361 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (3 retries left).
2019-12-24 12:00:09,587 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (3 retries left).
2019-12-24 12:00:14,957 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (2 retries left).
2019-12-24 12:00:16,263 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (2 retries left).
2019-12-24 12:00:21,509 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (1 retries left).
2019-12-24 12:00:22,876 p=15879 u=root | FAILED - RETRYING: Ceph RBD | Installing ceph-common (YUM) (1 retries left).
2019-12-24 12:00:28,182 p=15879 u=root | fatal: [node2]: FAILED! => {
“attempts”: 5,
“changed”: false,
“rc”: 1,
“results”: [
“Loaded plugins: langpacks\nResolving Dependencies\n–> Running transaction check\n—> Package ceph-common.x86_64 1:10.2.5-4.el7 will be installed\n–> Processing Dependency: python-requests for package: 1:ceph-common-10.2.5-4.el7.x86_64\n–> Running transaction check\n—> Package python-requests.noarch 0:2.6.0-1.el7_1 will be installed\n–> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n ceph-common x86_64 1:10.2.5-4.el7 bash 9.3 M\nInstalling for dependencies:\n python-requests noarch 2.6.0-1.el7_1 bash 94 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal size: 9.4 M\nTotal download size: 94 k\nInstalled size: 35 M\nDownloading packages:\nNo Presto metadata available for bash\n”
]
}
MSG:
http://10.110.60.13:5080/yum_repo/iso/python-requests-2.6.0-1.el7_1.noarch.rpm: [Errno 14] HTTP 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/.
Error downloading packages:
python-requests-2.6.0-1.el7_1.noarch: [Errno 256] No more mirrors to try.
2019-12-24 12:00:29,609 p=15879 u=root | fatal: [node1]: FAILED! => {
“attempts”: 5,
“changed”: false,
“rc”: 1,
“results”: [
“Loaded plugins: langpacks\nResolving Dependencies\n–> Running transaction check\n—> Package ceph-common.x86_64 1:10.2.5-4.el7 will be installed\n–> Processing Dependency: python-requests for package: 1:ceph-common-10.2.5-4.el7.x86_64\n–> Running transaction check\n—> Package python-requests.noarch 0:2.6.0-1.el7_1 will be installed\n–> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n ceph-common x86_64 1:10.2.5-4.el7 bash 9.3 M\nInstalling for dependencies:\n python-requests noarch 2.6.0-1.el7_1 bash 94 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal size: 9.4 M\nTotal download size: 94 k\nInstalled size: 35 M\nDownloading packages:\nNo Presto metadata available for bash\n”
]
}
MSG:
http://10.110.60.13:5080/yum_repo/iso/python-requests-2.6.0-1.el7_1.noarch.rpm: [Errno 14] HTTP 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/.
Error downloading packages:
python-requests-2.6.0-1.el7_1.noarch: [Errno 256] No more mirrors to try.
2019-12-24 12:00:29,744 p=15879 u=root | TASK [prepare/nodes : Fetch /etc/os-release] ******************************************
2019-12-24 12:00:29,744 p=15879 u=root | Tuesday 24 December 2019 12:00:29 +0800 (0:00:37.501) 0:00:55.127 ******
2019-12-24 12:00:29,787 p=15879 u=root | ok: [master]
2019-12-24 12:00:29,931 p=15879 u=root | TASK [prepare/nodes : GlusterFS | Installing glusterfs-client (APT)] ******************
2019-12-24 12:00:29,932 p=15879 u=root | Tuesday 24 December 2019 12:00:29 +0800 (0:00:00.187) 0:00:55.314 ******
2019-12-24 12:00:29,960 p=15879 u=root | skipping: [master]
2019-12-24 12:00:30,128 p=15879 u=root | TASK [prepare/nodes : GlusterFS | Installing glusterfs-client (YUM)] ******************
2019-12-24 12:00:30,128 p=15879 u=root | Tuesday 24 December 2019 12:00:30 +0800 (0:00:00.196) 0:00:55.511 ******
2019-12-24 12:00:36,589 p=15879 u=root | FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (5 retries left).
2019-12-24 12:00:47,936 p=15879 u=root | FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (4 retries left).
2019-12-24 12:00:59,142 p=15879 u=root | FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (3 retries left).
2019-12-24 12:01:10,210 p=15879 u=root | FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (2 retries left).
2019-12-24 12:01:21,260 p=15879 u=root | FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (1 retries left).
2019-12-24 12:01:32,648 p=15879 u=root | fatal: [master]: FAILED! => {
“attempts”: 5,
“changed”: false,
“rc”: 1,
“results”: [
“Loaded plugins: langpacks\nResolving Dependencies\n–> Running transaction check\n—> Package glusterfs-fuse.x86_64 0:3.12.2-47.2.el7 will be installed\n–> Processing Dependency: glusterfs-libs(x86-64) = 3.12.2-47.2.el7 for package: glusterfs-fuse-3.12.2-47.2.el7.x86_64\n–> Processing Dependency: glusterfs-client-xlators(x86-64) = 3.12.2-47.2.el7 for package: glusterfs-fuse-3.12.2-47.2.el7.x86_64\n–> Processing Dependency: glusterfs(x86-64) = 3.12.2-47.2.el7 for package: glusterfs-fuse-3.12.2-47.2.el7.x86_64\n–> Running transaction check\n—> Package glusterfs.x86_64 0:3.8.4-53.el7.centos will be updated\n–> Processing Dependency: glusterfs(x86-64) = 3.8.4-53.el7.centos for package: glusterfs-api-3.8.4-53.el7.centos.x86_64\n—> Package glusterfs.x86_64 0:3.12.2-47.2.el7 will be an update\n—> Package glusterfs-client-xlators.x86_64 0:3.8.4-53.el7.centos will be updated\n–> Processing Dependency: glusterfs-client-xlators(x86-64) = 3.8.4-53.el7.centos for package: glusterfs-api-3.8.4-53.el7.centos.x86_64\n—> Package glusterfs-client-xlators.x86_64 0:3.12.2-47.2.el7 will be an update\n—> Package glusterfs-libs.x86_64 0:3.8.4-53.el7.centos will be updated\n–> Processing Dependency: glusterfs-libs(x86-64) = 3.8.4-53.el7.centos for package: glusterfs-cli-3.8.4-53.el7.centos.x86_64\n—> Package glusterfs-libs.x86_64 0:3.12.2-47.2.el7 will be an update\n–> Finished Dependency Resolution\n You could try using –skip-broken to work around the problem\n You could try running: rpm -Va –nofiles –nodigest\n”
]
}
MSG:
Error: Package: glusterfs-api-3.8.4-53.el7.centos.x86_64 (@anaconda)
Requires: glusterfs(x86-64) = 3.8.4-53.el7.centos
Removing: glusterfs-3.8.4-53.el7.centos.x86_64 (@anaconda)
glusterfs(x86-64) = 3.8.4-53.el7.centos
Updated By: glusterfs-3.12.2-47.2.el7.x86_64 (bash)
glusterfs(x86-64) = 3.12.2-47.2.el7
Error: Package: glusterfs-cli-3.8.4-53.el7.centos.x86_64 (@anaconda)
Requires: glusterfs-libs(x86-64) = 3.8.4-53.el7.centos
Removing: glusterfs-libs-3.8.4-53.el7.centos.x86_64 (@anaconda)
glusterfs-libs(x86-64) = 3.8.4-53.el7.centos
Updated By: glusterfs-libs-3.12.2-47.2.el7.x86_64 (bash)
glusterfs-libs(x86-64) = 3.12.2-47.2.el7
Error: Package: glusterfs-api-3.8.4-53.el7.centos.x86_64 (@anaconda)
Requires: glusterfs-client-xlators(x86-64) = 3.8.4-53.el7.centos
Removing: glusterfs-client-xlators-3.8.4-53.el7.centos.x86_64 (@anaconda)
glusterfs-client-xlators(x86-64) = 3.8.4-53.el7.centos
Updated By: glusterfs-client-xlators-3.12.2-47.2.el7.x86_64 (bash)
glusterfs-client-xlators(x86-64) = 3.12.2-47.2.el7
2019-12-24 12:01:32,650 p=15879 u=root | PLAY RECAP ****************************************************************************
2019-12-24 12:01:32,650 p=15879 u=root | master : ok=8 changed=4 unreachable=0 failed=1
2019-12-24 12:01:32,650 p=15879 u=root | node1 : ok=9 changed=3 unreachable=0 failed=1
2019-12-24 12:01:32,650 p=15879 u=root | node2 : ok=9 changed=3 unreachable=0 failed=1
2019-12-24 12:01:32,650 p=15879 u=root | Tuesday 24 December 2019 12:01:32 +0800 (0:01:02.521) 0:01:58.033 ******
2019-12-24 12:01:32,650 p=15879 u=root | ===============================================================================
2019-12-24 12:01:32,650 p=15879 u=root | prepare/nodes : GlusterFS | Installing glusterfs-client (YUM) —————– 62.52s
2019-12-24 12:01:32,650 p=15879 u=root | prepare/nodes : Ceph RBD | Installing ceph-common (YUM) ———————– 37.50s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Copy kubectl from hyperkube container ————————– 2.89s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Compare host kubectl with hyperkube container —————— 2.04s
2019-12-24 12:01:32,651 p=15879 u=root | download : Download items —————————————————— 1.75s
2019-12-24 12:01:32,651 p=15879 u=root | download : Sync container —————————————————— 1.68s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Copy admin kubeconfig to root user home ———————— 1.30s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Install kubectl bash completion ——————————– 0.91s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : KubeSphere| Installing JQ (YUM) ——————————– 0.89s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Create kube config dir —————————————– 0.71s
2019-12-24 12:01:32,651 p=15879 u=root | modify resolv.conf ————————————————————- 0.70s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Set kubectl bash completion file ——————————- 0.67s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : Ceph RBD | Installing ceph-common (APT) ———————— 0.60s
2019-12-24 12:01:32,651 p=15879 u=root | prepare/nodes : KubeSphere | Installing JQ (APT) ——————————- 0.58s
2019-12-24 12:01:32,651 p=15879 u=root | kubesphere-defaults : Configure defaults ————————————— 0.56s
2019-12-24 12:01:32,651 p=15879 u=root | modify resolv.conf ————————————————————- 0.54s
2019-12-24 12:01:32,651 p=15879 u=root | download : include_tasks ——————————————————- 0.47s
2019-12-24 12:01:32,651 p=15879 u=root | fetch config ——————————————————————- 0.41s
2019-12-24 12:01:32,652 p=15879 u=root | Get the tag date ————————————————————— 0.38s
2019-12-24 12:01:32,652 p=15879 u=root | set dev version —————————————————————- 0.28s