shaowenchen harbor里是域名
应用 显示的状态是 “更新中”
工作负载 显示的状态是“运行中”搜索不到,但是路径正确的话下载没问题
- 已编辑
centos 7.5 三节点安装,报错如下
TASK [prepare/nodes : GlusterFS | Installing glusterfs-client (YUM)] ******************************************************************************************************************************** Tuesday 14 April 2020 19:30:35 +0800 (0:00:00.429) 0:00:47.080 ********* FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (5 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (5 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (5 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (4 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (4 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (4 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (3 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (3 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (3 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (2 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (2 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (2 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (1 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (1 retries left). FAILED - RETRYING: GlusterFS | Installing glusterfs-client (YUM) (1 retries left). fatal: [node2]: 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 fatal: [node1]: 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 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** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:\npython-requests-2.6.0-7.el7_7.noarch has missing requires of python-urllib3 >= ('0', '1.10.2', '1')\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 PLAY RECAP ****************************************************************************************************************************************************************************************** master : ok=8 changed=4 unreachable=0 failed=1 node1 : ok=9 changed=7 unreachable=0 failed=1 node2 : ok=9 changed=7 unreachable=0 failed=1 Tuesday 14 April 2020 19:32:30 +0800 (0:01:54.751) 0:02:41.831 ********* =============================================================================== prepare/nodes : GlusterFS | Installing glusterfs-client (YUM) ------------------------------------------------------------------------------------------------------------------------------ 114.75s prepare/nodes : Ceph RBD | Installing ceph-common (YUM) ------------------------------------------------------------------------------------------------------------------------------------- 22.55s prepare/nodes : KubeSphere| Installing JQ (YUM) ---------------------------------------------------------------------------------------------------------------------------------------------- 6.85s prepare/nodes : Copy admin kubeconfig to root user home -------------------------------------------------------------------------------------------------------------------------------------- 2.89s download : Download items -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.38s download : Sync container -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.95s prepare/nodes : Install kubectl bash completion ---------------------------------------------------------------------------------------------------------------------------------------------- 1.54s prepare/nodes : Create kube config dir ------------------------------------------------------------------------------------------------------------------------------------------------------- 1.43s prepare/nodes : Set kubectl bash completion file --------------------------------------------------------------------------------------------------------------------------------------------- 1.21s fetch config --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.08s modify resolv.conf --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.01s prepare/nodes : Fetch /etc/os-release -------------------------------------------------------------------------------------------------------------------------------------------------------- 0.71s Get the tag date ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.59s modify resolv.conf --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.44s prepare/nodes : Ceph RBD | Installing ceph-common (APT) -------------------------------------------------------------------------------------------------------------------------------------- 0.43s download : include_tasks --------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.43s prepare/nodes : GlusterFS | Installing glusterfs-client (APT) -------------------------------------------------------------------------------------------------------------------------------- 0.43s prepare/nodes : KubeSphere | Installing JQ (APT) --------------------------------------------------------------------------------------------------------------------------------------------- 0.34s kubesphere-defaults : Configure defaults ----------------------------------------------------------------------------------------------------------------------------------------------------- 0.28s set dev version ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.27s failed! ********************************** please refer to https://kubesphere.io/docs/v2.1/zh-CN/faq/faq-install/ **********************************
已解决。。。
用了网易的镜像加速https://hub-mirror.c.163.com,pull不下载
[root@ks-allinone docker.service.d]# docker pull calico/node:v3.7.3
v3.7.3: Pulling from calico/node
27833a3ba0a5: Pulling fs layer
876ce371124d: Download complete
bd5563b0fe6e: Download complete
c8b9144b9508: Download complete
afa3aaafdcf4: Download complete
02692ea2b1d5: Download complete
873bc9bf36bf: Download complete
7935b08ac09f: Download complete换了个网络,就卡在这不动了:
TASK [download : check_pull_required | Check that the local digest sha256 corresponds to the given image tag] ***
Tuesday 25 February 2020 21:05:40 +0800 (0:00:00.097) 0:01:29.325 ******
skipping: [ks-allinone]TASK [download : download_container | Download image if required ( calico/node:v3.7.3 )] ********
Tuesday 25 February 2020 21:05:40 +0800 (0:00:00.095) 0:01:29.420 ******求助:all-in-one安装的时候container下载不了
TASK [download : download_container | Load image into docker] ***************************************************
Tuesday 25 February 2020 17:48:47 +0800 (0:00:00.092) 0:01:42.540 ******
skipping: [ks-allinone]TASK [download : download_container | Prepare container download] ***********************************************
Tuesday 25 February 2020 17:48:47 +0800 (0:00:00.067) 0:01:42.607 ******
included: /opt/kubesphere/kubesphere-all-v2.1.0/k8s/roles/download/tasks/check_pull_required.yml for ks-allinoneTASK [download : check_pull_required | Generate a list of information about the images on a node] **************
Tuesday 25 February 2020 17:48:47 +0800 (0:00:00.140) 0:01:42.748 ******
ok: [ks-allinone -> ks-allinone]TASK [download : check_pull_required | Set pull_required if the desired image is not yet loaded] ****************
Tuesday 25 February 2020 17:48:48 +0800 (0:00:00.377) 0:01:43.125 ******
ok: [ks-allinone]TASK [download : check_pull_required | Check that the local digest sha256 corresponds to the given image tag] ***
Tuesday 25 February 2020 17:48:48 +0800 (0:00:00.093) 0:01:43.218 ******
skipping: [ks-allinone]TASK [download : download_container | Download image if required ( calico/node:v3.7.3 )] ************************
Tuesday 25 February 2020 17:48:48 +0800 (0:00:00.104) 0:01:43.322 ******
FAILED - RETRYING: download_container | Download image if required ( calico/node:v3.7.3 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( calico/node:v3.7.3 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( calico/node:v3.7.3 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( calico/node:v3.7.3 ) (1 retries left).