Task 'monitoring' failed:
******************************************************************************************************************************************************
{
"counter": 120,
"created": "2021-11-12T08:37:53.274357",
"end_line": 115,
"event": "runner_on_failed",
"event_data": {
"duration": 44.936775,
"end": "2021-11-12T08:37:53.274165",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "1e3db38b-2af1-0ee5-ff87-000000000005",
"playbook": "/kubesphere/playbooks/monitoring.yaml",
"playbook_uuid": "d54fa9e7-6690-417e-99a6-ba29403e1c93",
"remote_addr": "127.0.0.1",
"res": {
"_ansible_no_log": false,
"attempts": 3,
"changed": true,
"cmd": "/usr/local/bin/helm upgrade --install notification-manager /kubesphere/kubesphere/notification-manager -f /kubesphere/kubesphere/notification-manager/custom-values-notification.yaml -n kubesphere-monitoring-system --force\n",
"delta": "0:00:02.800591",
"end": "2021-11-12 08:37:53.244397",
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/helm upgrade --install notification-manager /kubesphere/kubesphere/notification-manager -f /kubesphere/kubesphere/notification-manager/custom-values-notification.yaml -n kubesphere-monitoring-system --force\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-12 08:37:50.443806",
"stderr": "Error: UPGRADE FAILED: failed to replace object: Service \"notification-manager-controller-metrics\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset && failed to replace object: Service \"notification-manager-webhook\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset",
"stderr_lines": [
"Error: UPGRADE FAILED: failed to replace object: Service \"notification-manager-controller-metrics\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset && failed to replace object: Service \"notification-manager-webhook\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset"
],
"stdout": "",
"stdout_lines": []
},
"role": "ks-monitor",
"start": "2021-11-12T08:37:08.337390",
"task": "notification-manager | Deploying notification-manager",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-monitor/tasks/notification-manager.yaml:36",
"task_uuid": "1e3db38b-2af1-0ee5-ff87-000000000058",
"uuid": "0f92c887-f5fe-4ca5-9264-01a11234543d"
},
"parent_uuid": "1e3db38b-2af1-0ee5-ff87-000000000058",
"pid": 5520,
"runner_ident": "monitoring",
"start_line": 114,
"stdout": "fatal: [localhost]: FAILED! => {\"attempts\": 3, \"changed\": true, \"cmd\": \"/usr/local/bin/helm upgrade --install notification-manager /kubesphere/kubesphere/notification-manager -f /kubesphere/kubesphere/notification-manager/custom-values-notification.yaml -n kubesphere-monitoring-system --force\\n\", \"delta\": \"0:00:02.800591\", \"end\": \"2021-11-12 08:37:53.244397\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2021-11-12 08:37:50.443806\", \"stderr\": \"Error: UPGRADE FAILED: failed to replace object: Service \\\"notification-manager-controller-metrics\\\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset && failed to replace object: Service \\\"notification-manager-webhook\\\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset\", \"stderr_lines\": [\"Error: UPGRADE FAILED: failed to replace object: Service \\\"notification-manager-controller-metrics\\\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset && failed to replace object: Service \\\"notification-manager-webhook\\\" is invalid: spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset\"], \"stdout\": \"\", \"stdout_lines\": []}",
"uuid": "0f92c887-f5fe-4ca5-9264-01a11234543d"
}
******************************************************************************************************************************************************