TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Getting minio installation files] ******************
changed: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
changed: [localhost] => (item={u’name’: u’custom-values-minio’, u’file’: u’custom-values-minio.yaml’})
TASK [common : Kubesphere | Check minio] ***************************************
changed: [localhost]
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:00:00.591399”, “end”: “2020-06-09 03:45:03.688048”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-06-09 03:45:03.096649″, “stderr”: "Error: UPGRADE FAILED: \“ks-minio\” has no deployed releases", “stderr_lines”: ["Error: UPGRADE FAILED: \“ks-minio\” has no deployed releases"], “stdout”: "", “stdout_lines”: []}
…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 ‘helm del –purge ks-minio && kubectl delete job -n kubesphere-system ks-minio-make-bucket-job’”,
“4. 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=32 changed=26 unreachable=0 failed=1 skipped=76 rescued=0 ignored=7
[root@k8s-master ]# kubectl get pod –all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
default nfs-client-provisioner-67f88c4447-7789r 1/1 Running 1 106m
kube-system calico-kube-controllers-589b5f594b-gtnrt 1/1 Running 1 172m
kube-system calico-node-cj4h4 1/1 Running 1 169m
kube-system calico-node-jlh8k 1/1 Running 1 169m
kube-system calico-node-qwc4g 1/1 Running 1 172m
kube-system coredns-7f9c544f75-52r9b 1/1 Running 1 3h5m
kube-system coredns-7f9c544f75-g2flj 1/1 Running 1 3h5m
kube-system etcd-k8s-master 1/1 Running 1 3h5m
kube-system kube-apiserver-k8s-master 1/1 Running 1 3h5m
kube-system kube-controller-manager-k8s-master 1/1 Running 1 3h5m
kube-system kube-proxy-6l8lp 1/1 Running 1 169m
kube-system kube-proxy-h6nhp 1/1 Running 1 3h5m
kube-system kube-proxy-hktr2 1/1 Running 1 169m
kube-system kube-scheduler-k8s-master 1/1 Running 1 3h5m
kube-system metrics-server-66444bf745-fr5km 1/1 Running 1 99m
kube-system tiller-deploy-5fdc6844fb-lz7dv 1/1 Running 1 141m
kubesphere-system ks-installer-75b8d89dff-rj5cg 1/1 Running 0 6m47s
kubesphere-system redis-6fd6c6d6f9-6xrw6 1/1 Running 0 5m40s