iawia002 现在报的这个错,有排错思路提供下吗?
`
Task ‘multicluster’ failed:
{
“counter”: 48,
“created”: “2021-11-18T02:45:44.587684”,
“end_line”: 47,
“event”: “runner_on_failed”,
“event_data”: {
“duration”: 649.70805,
“end”: “2021-11-18T02:45:44.587507”,
“event_loop”: null,
“host”: “localhost”,
“ignore_errors”: null,
“play”: “localhost”,
“play_pattern”: “localhost”,
“play_uuid”: “165a19cc-9aa3-9081-fd33-000000000005”,
“playbook”: “/kubesphere/playbooks/multicluster.yaml”,
“playbook_uuid”: “e851d073-ac8b-43bc-b4ea-39547693cb2d”,
“remote_addr”: “127.0.0.1”,
“res”: {
“ansible_no_log”: false,
“attempts”: 10,
“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:00:04.399238”,
“end”: “2021-11-18 10:45:44.555486”,
“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-11-18 10:45:40.156248”,
“stderr”: "Error: UPGRADE FAILED: \“kubefed\” has no deployed releases",
“stderr_lines”: [
"Error: UPGRADE FAILED: \“kubefed\” has no deployed releases"
],
“stdout”: "",
“stdout_lines”: []
},
“role”: “ks-multicluster”,
“start”: “2021-11-18T02:34:54.879457”,
“task”: “Kubefed | Initing kube-federation-system”,
“task_action”: “command”,
“task_args”: "",
“task_path”: “/kubesphere/installer/roles/ks-multicluster/tasks/main.yml:36”,
“task_uuid”: “165a19cc-9aa3-9081-fd33-00000000001c”,
“uuid”: “1ea4df0b-efca-4241-9427-d1bf41141275”
},
“parent_uuid”: “165a19cc-9aa3-9081-fd33-00000000001c”,
“pid”: 2996,
“runner_ident”: “multicluster”,
“start_line”: 46,
“stdout”: "fatal: [localhost]: FAILED! => {\“attempts\”: 10, \“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:00:04.399238\”, \“end\”: \“2021-11-18 10:45:44.555486\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2021-11-18 10:45:40.156248\”, \“stderr\”: \"Error: UPGRADE FAILED: \\“kubefed\\” has no deployed releases\", \“stderr_lines\”: [\"Error: UPGRADE FAILED: \\“kubefed\\” has no deployed releases\"], \“stdout\”: \“\”, \“stdout_lines\”: []}",
“uuid”: “1ea4df0b-efca-4241-9427-d1bf41141275”
}
`