Kubernetes版本信息
v3.2.1
./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
kubectl edit cc ks-installer -n kubesphere-system
Waiting for all tasks to be completed ...
task network status is successful (1/4)
task openpitrix status is successful (2/4)
task monitoring status is successful (3/4)
task multicluster status is failed (4/4)
**************************************************
Collecting installation results ...
Task 'multicluster' failed:
******************************************************************************************************************************************************
{
"counter": 65,
"created": "2022-02-24T06:00:22.491148",
"end_line": 67,
"event": "runner_on_failed",
"event_data": {
"duration": 657.194901,
"end": "2022-02-24T06:00:22.490862",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "6a09ff7e-f966-1409-755e-000000000005",
"playbook": "/kubesphere/playbooks/multicluster.yaml",
"playbook_uuid": "5b1b3191-2fd2-4eeb-aeef-b71f7e7bfc4c",
"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.783402",
"end": "2022-02-24 14:00:22.403295",
"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": "2022-02-24 14:00:17.619893",
"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": "2022-02-24T05:49:25.295961",
"task": "Kubefed | Initing kube-federation-system",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-multicluster/tasks/main.yml:51",
"task_uuid": "6a09ff7e-f966-1409-755e-00000000001f",
"uuid": "f7cb25f1-3761-42c7-a575-d525d6c07654"
},
"parent_uuid": "6a09ff7e-f966-1409-755e-00000000001f",
"pid": 8819,
"runner_ident": "multicluster",
"start_line": 66,
"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.783402\", \"end\": \"2022-02-24 14:00:22.403295\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2022-02-24 14:00:17.619893\", \"stderr\": \"Error: UPGRADE FAILED: \\\"kubefed\\\" has no deployed releases\", \"stderr_lines\": [\"Error: UPGRADE FAILED: \\\"kubefed\\\" has no deployed releases\"], \"stdout\": \"\", \"stdout_lines\": []}",
"uuid": "f7cb25f1-3761-42c7-a575-d525d6c07654"
}