在新装的Ubuntu 1804上安装KubeSphere 2.1.1(All-in-One)的过程中,当安装进行到TASK [prepare/nodes : GlusterFS | add glusterfs-client repository (APT)]步骤时,报以下错误。已检查并未开启防火墙。且尝试多次一直卡在这个地方。请帮忙查看原因,谢谢!
TASK [prepare/nodes : GlusterFS | add glusterfs-client repository (APT)] *************************************************************
Monday 25 May 2020 10:27:47 +0000 (0:00:01.521) 0:00:20.255 ************
FAILED - RETRYING: GlusterFS | add glusterfs-client repository (APT) (5 retries left).
FAILED - RETRYING: GlusterFS | add glusterfs-client repository (APT) (4 retries left).
FAILED - RETRYING: GlusterFS | add glusterfs-client repository (APT) (3 retries left).
FAILED - RETRYING: GlusterFS | add glusterfs-client repository (APT) (2 retries left).
FAILED - RETRYING: GlusterFS | add glusterfs-client repository (APT) (1 retries left).
fatal: [ks-allinone]: FAILED! => {
“attempts”: 5,
“changed”: false
}
MSG:
Failed to connect to launchpad.net at port 443: [Errno 101] Network is unreachable
PLAY RECAP ***************************************************************************************************************************
ks-allinone : ok=14 changed=4 unreachable=0 failed=1
Monday 25 May 2020 10:54:20 +0000 (0:26:33.333) 0:26:53.589 ************
prepare/nodes : GlusterFS | add glusterfs-client repository (APT) ———————————————————- 1593.33s
prepare/nodes : KubeSphere | Installing JQ (APT) —————————————————————————— 4.78s
prepare/nodes : pip | Installing pip —————————————————————————————— 4.51s
prepare/nodes : Ceph RBD | Installing ceph-common (APT) ———————————————————————– 3.54s
prepare/nodes : GlusterFS | Installing pyOpenSSL —————————————————————————— 1.52s
download : Download items —————————————————————————————————– 0.98s
download : Sync container —————————————————————————————————– 0.89s
prepare/nodes : Copy get-pip.py ———————————————————————————————– 0.69s
prepare/nodes : Create kube pip dir ——————————————————————————————- 0.47s
prepare/nodes : Copy pip.conf ————————————————————————————————- 0.44s
modify resolv.conf ———————————————————————————————————— 0.41s
fetch config —————————————————————————————————————— 0.40s
modify resolv.conf ———————————————————————————————————— 0.27s
Get the tag date ————————————————————————————————————– 0.24s
prepare/nodes : Fetch /etc/os-release —————————————————————————————– 0.12s
set dev version ————————————————————————————————————— 0.10s
kubesphere-defaults : Configure defaults ————————————————————————————– 0.09s
prepare/nodes : Set kubectl bash completion file —————————————————————————— 0.08s
download : include_tasks —————————————————————————————————— 0.07s
prepare/nodes : Ceph RBD | Installing ceph-common (YUM) ———————————————————————– 0.06s
failed!