報(bào)錯(cuò)日志
TASK [common : Kubesphere | Deploy minio] **************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm upgrade --install ks-minio /etc/kubesphere/minio-ha -f /etc/kubesphere/custom-values-minio.yaml --set fullnameOverride=minio --namespace kubesphere-system --wait --timeout 1800\n", "delta": "0:30:00.948378", "end": "2019-11-11 09:53:01.606320", "msg": "non-zero return code", "rc": 1, "start": "2019-11-11 09:23:00.657942", "stderr": "Error: release ks-minio failed: timed out waiting for the condition", "stderr_lines": ["Error: release ks-minio failed: timed out waiting for the condition"], "stdout": "Release "ks-minio" does not exist. Installing it now.", "stdout_lines": ["Release "ks-minio" does not exist. Installing it now."]}
解決方案
# 關(guān)閉防火墻
sudo systemctl stop firewalld.service && sudo systemctl disable firewalld.service
# 關(guān)閉SELinux
vi /etc/selinux/config
# 將 SELINUX=enforcing 改為 SELINUX=disabled
# 重啟機(jī)器
shutdown -r now
# 檢查修改結(jié)果
/usr/sbin/sestatus -v