

`Waiting for all tasks to be completed …
task network status is successful (¼)
task openpitrix status is successful (2/4)
task multicluster status is successful (¾)
task monitoring status is failed (4/4)
Collecting installation results …
Task ‘monitoring’ failed:
{
“counter”: 75,
“created”: “2021-07-15T09:41:05.973290”,
“end_line”: 74,
“event”: “runner_on_failed”,
“event_data”: {
“duration”: 1.528803,
“end”: “2021-07-15T09:41:05.973055”,
“event_loop”: null,
“host”: “localhost”,
“ignore_errors”: null,
“play”: “localhost”,
“play_pattern”: “localhost”,
“play_uuid”: “f6b7e7a3-1543-f6c7-12ca-000000000005”,
“playbook”: “/kubesphere/playbooks/monitoring.yaml”,
“playbook_uuid”: “f9f2d45b-f1c0-49f6-a94c-66593d4ca0b7”,
“remote_addr”: “127.0.0.1”,
“res”: {
“ansible_no_log”: false,
“changed”: true,
“cmd”: “/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/prometheus/node-exporter –force”,
“delta”: “0:00:00.907936”,
“end”: “2021-07-15 17:41:05.945183”,
“invocation”: {
“module_args”: {
“raw_params”: “/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/prometheus/node-exporter –force”,
“_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-15 17:41:05.037247”,
“stderr”: “error: unable to recognize \”/kubesphere/kubesphere/prometheus/node-exporter/node-exporter-serviceMonitor.yaml\": no matches for kind \“Servi ceMonitor\” in version \“monitoring.coreos.com/v1\”",
“stderr_lines”: [
“error: unable to recognize \”/kubesphere/kubesphere/prometheus/node-exporter/node-exporter-serviceMonitor.yaml\": no matches for kind \“ServiceMonito r\” in version \“monitoring.coreos.com/v1\”"
],
“stdout”: “clusterrole.rbac.authorization.k8s.io/kubesphere-node-exporter created\nclusterrolebinding.rbac.authorization.k8s.io/kubesphere-node-exporter created\ndaemonset.apps/node-exporter created\nservice/node-exporter created\nserviceaccount/node-exporter created”,
“stdout_lines”: [
“clusterrole.rbac.authorization.k8s.io/kubesphere-node-exporter created”,
“clusterrolebinding.rbac.authorization.k8s.io/kubesphere-node-exporter created”,
“daemonset.apps/node-exporter created”,
“service/node-exporter created”,
“serviceaccount/node-exporter created”
]
},
“role”: “ks-monitor”,
“start”: “2021-07-15T09:41:04.444252”,
“task”: “Monitoring | Installing node-exporter”,
“task_action”: “command”,
“task_args”: "",
“task_path”: “/kubesphere/installer/roles/ks-monitor/tasks/node-exporter.yaml:2”,
“task_uuid”: “f6b7e7a3-1543-f6c7-12ca-000000000033”,
“uuid”: “4061c411-234a-454f-8bef-e047fd7f6d4d”
},
“parent_uuid”: “f6b7e7a3-1543-f6c7-12ca-000000000033”,
“pid”: 4337,
“runner_ident”: “monitoring”,
“start_line”: 73,
“stdout”: "fatal: [localhost]: FAILED! => {\“changed\”: true, \“cmd\”: \“/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/prometheus/node-exporter –f orce\”, \“delta\”: \“0:00:00.907936\”, \“end\”: \“2021-07-15 17:41:05.945183\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2021-07-15 17:41:05 .037247\”, \“stderr\”: \“error: unable to recognize \\”/kubesphere/kubesphere/prometheus/node-exporter/node-exporter-serviceMonitor.yaml\\": no matches for kind \\“ServiceMonitor\\” in version \\“monitoring.coreos.com/v1\\”\", \“stderr_lines\”: [\“error: unable to recognize \\”/kubesphere/kubesphere/promethe us/node-exporter/node-exporter-serviceMonitor.yaml\\": no matches for kind \\“ServiceMonitor\\” in version \\“monitoring.coreos.com/v1\\”\"], \“stdout\”: \“clusterrole.rbac.authorization.k8s.io/kubesphere-node-exporter created\nclusterrolebinding.rbac.authorization.k8s.io/kubesphere-node-exporter created\nda emonset.apps/node-exporter created\nservice/node-exporter created\nserviceaccount/node-exporter created\”, \“stdout_lines\”: [\“clusterrole.rbac.authorizati on.k8s.io/kubesphere-node-exporter created\”, \“clusterrolebinding.rbac.authorization.k8s.io/kubesphere-node-exporter created\”, \“daemonset.apps/node-exporte r created\”, \“service/node-exporter created\”, \“serviceaccount/node-exporter created\”]}",
“uuid”: “4061c411-234a-454f-8bef-e047fd7f6d4d”
}
`