我重新启用下发现有问题如下:
task servicemesh status is failed
total: 6 completed:6
Task ‘servicemesh’ failed:
{
“counter”: 97,
“created”: “2020-12-09T06:46:08.352720”,
“end_line”: 96,
“event”: “runner_on_failed”,
“event_data”: {
“duration”: 513.430653,
“end”: “2020-12-09T06:46:08.352587”,
“event_loop”: null,
“host”: “localhost”,
“ignore_errors”: null,
“play”: “localhost”,
“play_pattern”: “localhost”,
“play_uuid”: “fa0b86a8-f35b-25ce-a37f-000000000005”,
“playbook”: “/kubesphere/playbooks/servicemesh.yaml”,
“playbook_uuid”: “96768566-b9d8-43b3-af1e-59d713b14971”,
“remote_addr”: “127.0.0.1”,
“res”: {
“ansible_no_log”: false,
“attempts”: 50,
“changed”: true,
“cmd”: “/usr/local/bin/kubectl -n istio-system get pod | grep istio-init-crd-11 | awk ‘{print $3}’”,
“delta”: “0:00:00.065892”,
“end”: “2020-12-09 14:46:08.328539”,
“invocation”: {
“module_args”: {
“raw_params”: “/usr/local/bin/kubectl -n istio-system get pod | grep istio-init-crd-11 | awk ‘{print $3}’”,
“_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
}
},
“rc”: 0,
“start”: “2020-12-09 14:46:08.262647”,
“stderr”: "",
“stderr_lines”: [],
“stdout”: "",
“stdout_lines”: []
},
“role”: “ks-istio”,
“start”: “2020-12-09T06:37:34.921934”,
“task”: “istio | Waiting for istio-init-crd-11”,
“task_action”: “command”,
“task_args”: "",
“task_path”: “/kubesphere/installer/roles/ks-istio/tasks/main.yaml:57”,
“task_uuid”: “fa0b86a8-f35b-25ce-a37f-00000000001d”,
“uuid”: “ab4f631d-ecbe-4444-9db9-e67ca3d47ba5”
},
“parent_uuid”: “fa0b86a8-f35b-25ce-a37f-00000000001d”,
“pid”: 14169,
“runner_ident”: “servicemesh”,
“start_line”: 95,
“stdout”: "fatal: [localhost]: FAILED! => {\“attempts\”: 50, \“changed\”: true, \“cmd\”: \“/usr/local/bin/kubectl -n istio-system get pod | grep istio-init-crd-11 | awk ‘{print $3}’\”, \“delta\”: \“0:00:00.065892\”, \“end\”: \“2020-12-09 14:46:08.328539\”, \“rc\”: 0, \“start\”: \“2020-12-09 14:46:08.262647\”, \“stderr\”: \“\”, \“stderr_lines\”: [], \“stdout\”: \“\”, \“stdout_lines\”: []}",
“uuid”: “ab4f631d-ecbe-4444-9db9-e67ca3d47ba5”
}