iawia002 你好,我也出现同样的问题Task ‘multicluster’ failed:
******************************************************************************************************************************************************
{
“counter”: 48,
“created”: “2021-11-15T05:29:43.016334”,
“end_line”: 47,
“event”: “runner_on_failed”,
“event_data”: {
"duration": 683.902222,
"end": "2021-11-15T05:29:43.015863",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "b6e3e3d1-da2e-61f0-d0eb-000000000005",
"playbook": "/kubesphere/playbooks/multicluster.yaml",
"playbook_uuid": "82ab480f-dabc-4eb3-9d2a-9b7a93d4d112",
"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:06.895688",
"end": "2021-11-15 00:29:42.912452",
"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-15 00:29:36.016764",
"stderr": "Error: UPGRADE FAILED: failed to create resource: Internal error occurred: failed calling webhook \\"federatedtypeconfigs.core.kubefed.io\\": Post \\"https://kubefed-admission-webhook.kube-federation-system.svc:443/validate-federatedtypeconfigs?timeout=30s\\": x509: certificate signed by unknown authority (possibly because of \\"crypto/rsa: verification error\\" while trying to verify candidate authority certificate \\"kubefed-admission-webhook-ca\\")",
"stderr_lines": [
"Error: UPGRADE FAILED: failed to create resource: Internal error occurred: failed calling webhook \\"federatedtypeconfigs.core.kubefed.io\\": Post \\"https://kubefed-admission-webhook.kube-federation-system.svc:443/validate-federatedtypeconfigs?timeout=30s\\": x509: certificate signed by unknown authority (possibly because of \\"crypto/rsa: verification error\\" while trying to verify candidate authority certificate \\"kubefed-admission-webhook-ca\\")"
],
"stdout": "",
"stdout_lines": []
},
"role": "ks-multicluster",
"start": "2021-11-15T05:18:19.113641",
"task": "Kubefed | Initing kube-federation-system",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-multicluster/tasks/main.yml:36",
"task_uuid": "b6e3e3d1-da2e-61f0-d0eb-00000000001c",
"uuid": "b0f331ea-6a18-4260-97bd-0ab88d17cd5c"
},
“parent_uuid”: “b6e3e3d1-da2e-61f0-d0eb-00000000001c”,
“pid”: 7407,
“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:06.895688\”, \“end\”: \“2021-11-15 00:29:42.912452\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2021-11-15 00:29:36.016764\”, \“stderr\”: \"Error: UPGRADE FAILED: failed to create resource: Internal error occurred: failed calling webhook \\\“federatedtypeconfigs.core.kubefed.io\\\”: Post \\\“https://kubefed-admission-webhook.kube-federation-system.svc:443/validate-federatedtypeconfigs?timeout=30s\\\”: x509: certificate signed by unknown authority (possibly because of \\\“crypto/rsa: verification error\\\” while trying to verify candidate authority certificate \\\“kubefed-admission-webhook-ca\\\”)\", \“stderr_lines\”: [\"Error: UPGRADE FAILED: failed to create resource: Internal error occurred: failed calling webhook \\\“federatedtypeconfigs.core.kubefed.io\\\”: Post \\\“https://kubefed-admission-webhook.kube-federation-system.svc:443/validate-federatedtypeconfigs?timeout=30s\\\”: x509: certificate signed by unknown authority (possibly because of \\\“crypto/rsa: verification error\\\” while trying to verify candidate authority certificate \\\“kubefed-admission-webhook-ca\\\”)\"], \“stdout\”: \“\”, \“stdout_lines\”: []}",
“uuid”: “b0f331ea-6a18-4260-97bd-0ab88d17cd5c”
}