**************************************************
Waiting for all tasks to be completed …
task network status is successful (1/11)
task alerting status is successful (2/11)
task multicluster status is successful (3/11)
task openpitrix status is successful (4/11)
task auditing status is successful (5/11)
task logging status is successful (6/11)
task events status is successful (7/11)
task kubeedge status is successful (8/11)
task servicemesh status is successful (9/11)
task devops status is successful (10/11)
task monitoring status is failed (11/11)
**************************************************
Collecting installation results …
Task ‘monitoring’ failed:
******************************************************************************************************************************************************
{
“counter”: 99,
“created”: “2024-05-31T14:35:00.523001”,
“end_line”: 95,
“event”: “runner_on_failed”,
“event_data”: {
"duration": 21.703125,
"end": "2024-05-31T14:35:00.522851",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "02d811aa-31fb-5e1f-55f3-000000000005",
"playbook": "/kubesphere/playbooks/monitoring.yaml",
"playbook_uuid": "df224107-ac47-4e65-ad36-783adc4bb183",
"remote_addr": "127.0.0.1",
"res": {
"changed": true,
"msg": "All items completed",
"results": [
{
"_ansible_item_label": "etcd",
"_ansible_no_log": false,
"ansible_loop_var": "item",
"attempts": 5,
"changed": true,
"cmd": "/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/prometheus/etcd",
"delta": "0:00:00.642548",
"end": "2024-05-31 22:35:00.435076",
"failed": true,
"failed_when_result": true,
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/prometheus/etcd",
"_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
}
},
"item": "etcd",
"msg": "non-zero return code",
"rc": 1,
"start": "2024-05-31 22:34:59.792528",
"stderr": "The Endpoints \\"etcd\\" is invalid: \\n\* subsets[0].addresses[0].ip: Invalid value: \\"localhost\\": must be a valid IP address, (e.g. 10.9.8.7 or 2001:db8::ffff)\\n\* subsets[0].addresses[0].ip: Invalid value: \\"localhost\\": must be a valid IP address",
"stderr_lines": [
"The Endpoints \\"etcd\\" is invalid: ",
"\* subsets[0].addresses[0].ip: Invalid value: \\"localhost\\": must be a valid IP address, (e.g. 10.9.8.7 or 2001:db8::ffff)",
"\* subsets[0].addresses[0].ip: Invalid value: \\"localhost\\": must be a valid IP address"
],
"stdout": "prometheusrule.monitoring.coreos.com/prometheus-k8s-etcd-rules unchanged\\nservice/etcd configured\\nservicemonitor.monitoring.coreos.com/etcd unchanged",
"stdout_lines": [
"prometheusrule.monitoring.coreos.com/prometheus-k8s-etcd-rules unchanged",
"service/etcd configured",
"servicemonitor.monitoring.coreos.com/etcd unchanged"
]
}
]
},
"role": "ks-monitor",
"start": "2024-05-31T14:34:38.819726",
"task": "Monitoring | Installing etcd monitoring",
"task_action": "shell",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-monitor/tasks/etcd.yaml:2",
"task_uuid": "02d811aa-31fb-5e1f-55f3-00000000004a",
"uuid": "f4935b39-fe53-49df-9843-e2c8932363e5"
},
“parent_uuid”: “02d811aa-31fb-5e1f-55f3-00000000004a”,
“pid”: 4970,
“runner_ident”: “monitoring”,
“start_line”: 95,
“stdout”: "",
“uuid”: “f4935b39-fe53-49df-9843-e2c8932363e5”
}
******************************************************************************************************************************************************
2024-05-31T22:36:34+08:00 INFO : EVENT Kube event ‘a8c4daa7-7f23-435b-880a-206a1211609a’
2024-05-31T22:36:34+08:00 INFO : QUEUE add TASK_HOOK_RUN@KUBE_EVENTS kubesphere/installRunner.py
2024-05-31T22:36:36+08:00 INFO : TASK_RUN HookRun@KUBE_EVENTS kubesphere/installRunner.py
2024-05-31T22:36:36+08:00 INFO : Running hook ‘kubesphere/installRunner.py’ binding ‘KUBE_EVENTS’ …
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match ‘all’