hongming
已经手动吧所有的crd都安装了,没有异常的pod
controller-manager最可疑:日志
之前启用多集群的时候ks-installer的 ansible任务报错了,看日志是一个job失败了,于是手动执行完成了这个job
ask 'multicluster' failed:
******************************************************************************************************************************************************
{
"counter": 38,
"created": "2021-07-13T14:15:11.328705",
"end_line": 38,
"event": "runner_on_failed",
"event_data": {
"duration": 718.692513,
"end": "2021-07-13T14:15:11.328538",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "22e2b49f-887c-557b-504a-000000000005",
"playbook": "/kubesphere/playbooks/multicluster.yaml",
"playbook_uuid": "a214ffce-e92a-4c8f-b0c1-be76c26676ff",
"remote_addr": "127.0.0.1",
"res": {
"_ansible_no_log": false,
"changed": true,
"cmd": "/usr/local/bin/helm upgrade --install kubefed /kubesphere/kubesphere/kubefed/kubefed -f /kubesphere/kubesphere/kubefed/custom-values-kubefed.yaml --namespace kube-federation-system --wait --timeout 1800s\n",
"delta": "0:11:57.910243",
"end": "2021-07-13 22:15:11.301681",
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/helm upgrade --install kubefed /kubesphere/kubesphere/kubefed/kubefed -f /kubesphere/kubesphere/kubefed/custom-values-kubefed.yaml --namespace kube-federation-system --wait --timeout 1800s\n",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-07-13 22:03:13.391438",
"stderr": "Error: UPGRADE FAILED: post-upgrade hooks failed: job failed: BackoffLimitExceeded",
"stderr_lines": [
"Error: UPGRADE FAILED: post-upgrade hooks failed: job failed: BackoffLimitExceeded"
],
"stdout": "",
"stdout_lines": []
},
"role": "ks-multicluster",
"start": "2021-07-13T14:03:12.636025",
"task": "Kubefed | Initing kube-federation-system",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-multicluster/tasks/main.yml:31",
"task_uuid": "22e2b49f-887c-557b-504a-00000000001c",
"uuid": "d58b0742-ef91-4b4c-8bd8-02d9abdafb20"
},
"parent_uuid": "22e2b49f-887c-557b-504a-00000000001c",
"pid": 12350,
"runner_ident": "multicluster",
"start_line": 37,
"stdout": "fatal: [localhost]: FAILED! => {\"changed\": true, \"cmd\": \"/usr/local/bin/helm upgrade --install kubefed /kubesphere/kubesphere/kubefed/kubefed -f /kubesphere/kubesphere/kubefed/custom-values-kubefed.yaml --namespace kube-federation-system --wait --timeout 1800s\\n\", \"delta\": \"0:11:57.910243\", \"end\": \"2021-07-13 22:15:11.301681\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2021-07-13 22:03:13.391438\", \"stderr\": \"Error: UPGRADE FAILED: post-upgrade hooks failed: job failed: BackoffLimitExceeded\", \"stderr_lines\": [\"Error: UPGRADE FAILED: post-upgrade hooks failed: job failed: BackoffLimitExceeded\"], \"stdout\": \"\", \"stdout_lines\": []}",
"uuid": "d58b0742-ef91-4b4c-8bd8-02d9abdafb20"
}