wcsemail 你这个看起来还是yum源的问题,你没参考https://kubesphere.com.cn/forum/d/929-yum?

参考了,法子都用了,机器都格式化三次了

各位大佬,搞不定呀
TASK [download : download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 )] ***********************************************************************************************************
Tuesday 28 April 2020 11:18:13 +0800 (0:00:00.153) 0:01:50.854 *********
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (4 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (3 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (2 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (1 retries left).
FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (1 retries left).
fatal: [master -> master]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1″
],
“delta”: “0:00:00.068527″,
“end”: “2020-04-28 11:18:26.854654”,
“rc”: 1,
“start”: “2020-04-28 11:18:26.786127″
}

STDERR:

Error response from daemon: Get http://192.168.4.99:5000/v2/: dial tcp 192.168.4.99:5000: connect: connection refused

MSG:

non-zero return code

FAILED - RETRYING: download_container | Download image if required ( 192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1 ) (2 retries left).
fatal: [node1 -> master]: FAILED! => {
“attempts”: 4,
“changed”: true,
“cmd”: [
“/usr/bin/docker”,
“pull”,
“192.168.4.99:5000/mirrorgooglecontainers/pause-amd64:3.1”
],
“delta”: “0:00:00.075878″,
“end”: “2020-04-28 11:18:30.915696”,
“rc”: 1,
“start”: “2020-04-28 11:18:30.839818″
}

STDERR:

Error response from daemon: Get http://192.168.4.99:5000/v2/: dial tcp 192.168.4.99:5000: connect: connection refused

MSG:

non-zero return code

FAILED - RETRYING: download_container | Downl

    终于解决,centos最小安装/ 目录默认50g肯定不行,加到100g就可以了

      [root@k8s-master kubesphere]# kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=‘{.items[0].metadata.name}’) -f
      Error from server (BadRequest): container “installer” in pod “ks-installer-59fb465b7-pzvv2” is waiting to start: ContainerCreating

      环境: k8s1.15版本
      在安装KubeSphere完整版的时候,查看安装日志的报错
      查看了一下pod,也是出于 ContainerCreating状态

        Student-party 已处理此问题是无法拉去镜像,但是我提前下载了docker 镜像后 ,也重新配置了images只拉去本地,pod状态已是run,但是 查看了安装logs,一直报
        FAILED - RETRYING: Metrics-Server | Waitting for v1beta1.metrics.k8s.io ready (43 retries left)

          Student-party
          v1beta1.metrics.k8s.io这个是由于集群中的metrics-server不正常导致的哦 , 可以检查下及群里的metrics-server
          可以看看kube-system下的pod状态
          可以通过kubectl get apiservices查看相关api状态

            Cauchy 鼓捣好了,但访问的时候 报 英特网无效连接 错误,懵了。想卸载了重装 有没有卸载脚本?

            11 天 后

            请问,我现在想使用在线安装脚本或者离线安装脚本,使用我本地私有harbor仓库,但是更改common配置没有生效,想问该如何设置呢?另外harbor是否需要https协议

              jinchen 那样会麻烦一些,你需要把所有镜像提前推送到 harbor 镜像仓库,然后在安装脚本里改镜像地址。为什么不直接用打包好的离线 installer 安装呢?

                fatal: [ks-allinone]: FAILED! => {
                “attempts”: 30,
                “changed”: true,
                “cmd”: “/usr/local/bin/kubectl get pod -n kubesphere-system | grep Running | grep ks-installer”,
                “delta”: “0:00:00.085104″,
                “end”: “2020-05-16 14:13:58.346256″,
                “rc”: 1,
                “start”: “2020-05-16 14:13:58.261152”
                }

                MSG:

                non-zero return code

                PLAY RECAP *************************************************************************************************************
                ks-allinone : ok=135 changed=15 unreachable=0 failed=1
                遇到各种问题,反复卸载安装,结果还不一样

                Feynman 那就是了,在研究这个能不能在线安装使用本地局域网的harbor做加速,所以遇到了这个问题了

                liuxw 离线 Installer 目前仅支持 CentOS 7.4 ~ 7.7 (64-bit)。如果你的 OS 版本不兼容,建议先自行安装好 k8s,然后参考官网文档 在 K8s 离线安装 KubeSphere

                  TASK [Restart docker] *************************************************************************************************************************************************************************
                  Wednesday 20 May 2020 10:58:55 +0800 (0:00:00.225) 0:00:01.440 *********
                  fatal: [ks-allinone]: FAILED! => {
                  “changed”: true,
                  “cmd”: “systemctl daemon-reload && service docker restart”,
                  “delta”: “0:00:00.248195”,
                  “end”: “2020-05-20 10:58:56.004947”,
                  “rc”: 1,
                  “start”: “2020-05-20 10:58:55.756752″
                  }

                  STDERR:

                  Redirecting to /bin/systemctl restart docker.service
                  Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.

                  MSG:

                  non-zero return code

                  PLAY RECAP ************************************************************************************************************************************************************************************
                  ks-allinone : ok=4 changed=3 unreachable=0 failed=1

                  Wednesday 20 May 2020 10:58:56 +0800 (0:00:00.616) 0:00:02.057 *********
                  Feynman 大佬帮忙看看