TASK [common : Kubesphere | Getting minio installation files] ******************
ok: [localhost] => (item=minio-ha)

TASK [common : Kubesphere | Creating manifests] ********************************
ok: [localhost] => (item={'name': 'custom-values-minio', 'file': 'custom-values-minio.yaml'})

TASK [common : Kubesphere | Check minio] ***************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm list -n kubesphere-system | grep \"ks-minio\"\n", "delta": "0:00:00.109110", "end": "2020-12-18 23:58:27.190393", "msg": "non-zero return code", "rc": 1, "start": "2020-12-18 23:58:27.081283", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
...ignoring

TASK [common : Kubesphere | Deploy minio] **************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm upgrade --install ks-minio /kubesphere/kubesphere/minio-ha -f /kubesphere/kubesphere/custom-values-minio.yaml --set fullnameOverride=minio --namespace kubesphere-system --wait --timeout 1800s\n", "delta": "0:00:00.575024", "end": "2020-12-18 23:58:28.077565", "msg": "non-zero return code", "rc": 1, "start": "2020-12-18 23:58:27.502541", "stderr": "Error: persistentvolumeclaims \"minio\" is forbidden: Internal error occurred: 2 default StorageClasses were found", "stderr_lines": ["Error: persistentvolumeclaims \"minio\" is forbidden: Internal error occurred: 2 default StorageClasses were found"], "stdout": "Release \"ks-minio\" does not exist. Installing it now.", "stdout_lines": ["Release \"ks-minio\" does not exist. Installing it now."]}
...ignoring

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=35   changed=23   unreachable=0    failed=1    skipped=89   rescued=0    ignored=10

error: unexpected EOF
[root@master1 offline]#

此步骤报错,可以先按提示的五步排查下,特别是存储和网络好好排查。

    7 个月 后
    1 年 后

    博主 你解决了吗?怎么解决呢?