rufei
TASK [common : ks-logging | Debug opensearch_host] *****************************
ok: [localhost] => {
"msg": {
"changed": true,
"cmd": "/usr/local/bin/kubectl get cm -n kubesphere-system kubesphere-config -o jsonpath='{.data.kubesphere\\\\.yaml}' | grep \\"logging:\\" -A 2 | grep \\"host\\" | awk '{print $2}'\\n",
"delta": "0:00:00.077290",
"end": "2023-12-21 09:27:25.835045",
"failed": false,
"failed_when_result": false,
"rc": 0,
"start": "2023-12-21 09:27:25.757755",
"stderr": "Error from server (NotFound): configmaps \\"kubesphere-config\\" not found",
"stderr_lines": [
"Error from server (NotFound): configmaps \\"kubesphere-config\\" not found"
],
"stdout": "",
"stdout_lines": []
}
}
除此之外还有一个日志显示错误:
2023-12-21T09:30:24+08:00 ERROR : TASK_RUN TASK_HOOK_RUN ‘kubesphere/installRunner.py’ on ‘KUBE_EVENTS’ failed. Will retry after delay. Failed count is 1. Error: kubesphere/installRunner.py FAILED: exit status 1