Task ‘monitoring’ failed:
******************************************************************************************************************************************************
{
“counter”: 148,
“created”: “2024-02-20T01:14:05.055081”,
“end_line”: 141,
“event”: “runner_on_failed”,
“event_data”: {
"duration": 944.464168,
"end": "2024-02-20T01:14:05.054589",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "825233cf-692a-af32-5e3b-000000000005",
"playbook": "/kubesphere/playbooks/monitoring.yaml",
"playbook_uuid": "4509c218-f9e0-43b5-8f2f-f77f1ec1d2ec",
"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:05:03.966712",
"end": "2024-02-20 09:14:05.018608",
"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": "2024-02-20 09:09:01.051896",
"stderr": "Error: UPGRADE FAILED: post-upgrade hooks failed: timed out waiting for the condition",
"stderr_lines": [
"Error: UPGRADE FAILED: post-upgrade hooks failed: timed out waiting for the condition"
],
"stdout": "",
"stdout_lines": []
},
"resolved_action": "command",
"role": "ks-monitor",
"start": "2024-02-20T00:58:20.590421",
"task": "notification-manager | Deploying notification-manager",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-monitor/tasks/notification-manager.yaml:30",
"task_uuid": "825233cf-692a-af32-5e3b-00000000005a",
"uuid": "d0dc228c-c314-4801-898f-4920a2209231"
},
“parent_uuid”: “825233cf-692a-af32-5e3b-00000000005a”,
“pid”: 6182,
“runner_ident”: “monitoring”,
“start_line”: 140,
“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:05:03.966712\”, \“end\”: \“2024-02-20 09:14:05.018608\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2024-02-20 09:09:01.051896\”, \“stderr\”: \“Error: UPGRADE FAILED: post-upgrade hooks failed: timed out waiting for the condition\”, \“stderr_lines\”: [\“Error: UPGRADE FAILED: post-upgrade hooks failed: timed out waiting for the condition\”], \“stdout\”: \“\”, \“stdout_lines\”: []}",
“uuid”: “d0dc228c-c314-4801-898f-4920a2209231”