• DevOps
  • DevOps 在安装后启用失败 KubeSphere 3.2.0

最小安装以后开启DevOps失败,报错如下

TASK [common : debug] **********************************************************

ok: [localhost] => {

"msg": [

    "1. check the storage configuration and storage server",

    "2. make sure the DNS address in /etc/resolv.conf is available",

    "3. execute 'kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job' to watch logs",

    "4. execute 'helm -n kubesphere-system uninstall ks-minio && kubectl -n kubesphere-system delete job minio-make-bucket-job'",

    "5. Restart the installer pod in kubesphere-system namespace"

]

}

TASK [common : fail] ***********************************************************

fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “It is suggested to refer to the above methods for troubleshooting problems .”}

PLAY RECAP *********************************************************************

localhost : ok=31 changed=25 unreachable=0 failed=1 skipped=78 rescued=0 ignored=0

看论坛之前有人同样的问题, 把docker的第三方镜像去掉好了,不过我试了下还是同样的错误。 有没有老铁帮助下?

    tpxcer

    重启一下 ks-installer 试试:

    kubectl rollout restart deploy/ks-installer -n kubesphere-system

    如果还出现这个错误,建议按照错误提示排查一下。

      johnniang

      重启过多次一直这个提示。

      1.不知道怎么排查,默认安装的时候有个local的存储,后来我上了个nfs存储

      2.dns没问题

      3.没结果,应该东西根本没装上去

      4.同上

      5.重启installer 多次了

        tpxcer

        试试按照这个步骤排查一下呢:

        "msg": [
        
            "1. check the storage configuration and storage server",
        
            "2. make sure the DNS address in /etc/resolv.conf is available",
        
            "3. execute 'kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job' to watch logs",
        
            "4. execute 'helm -n kubesphere-system uninstall ks-minio && kubectl -n kubesphere-system delete job minio-make-bucket-job'",
        
            "5. Restart the installer pod in kubesphere-system namespace"
        
        ]

          tpxcer

          或许你可以提供一下安装 K8s 步骤,看能否稳定复现这个问题。

          tpxcer

          你的K8s是什么版本,用的nfs存储类又是什么版本?

          kubectl get pvc -A 看看是否有pending状态的PVC

            13 天 后

            现在我也是开启devopt报这个错误,请问这个怎么解决

            1 个月 后
            2 年 后