操作系统信息
虚拟机Centos7. 4C/8G
用kk安装,总是失败,提示Task ‘monitoring’ failed:,有没有哪位朋友遇到过
Kubernetes版本信息
curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.13 sh -
./kk create config –with-kubernetes v1.22.12 –with-kubesphere v3.4.1
Task ‘monitoring’ failed:
******************************************************************************************************************************************************
{
“counter”: 148,
“created”: “2024-06-21T16:16:45.353808”,
“end_line”: 141,
“event”: “runner_on_failed”,
“event_data”: {
"duration": 953.41617,
"end": "2024-06-21T16:16:45.353698",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "727a56ac-2fde-9075-27ec-000000000005",
"playbook": "/kubesphere/playbooks/monitoring.yaml",
"playbook_uuid": "3f91df68-6041-4630-a1a4-22a2c3615155",
"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:05.829563",
"end": "2024-06-22 00:16:45.335079",
"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-06-22 00:11:39.505516",
"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-06-21T16:00:51.937528",
"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": "727a56ac-2fde-9075-27ec-00000000005a",
"uuid": "c931d481-fa01-4116-b8d9-56fa4c2fa87a"
},
“parent_uuid”: “727a56ac-2fde-9075-27ec-00000000005a”,
“pid”: 7371,
“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:05.829563\”, \“end\”: \“2024-06-22 00:16:45.335079\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2024-06-22 00:11:39.505516\”, \“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”: “c931d481-fa01-4116-b8d9-56fa4c2fa87a”
}
******************************************************************************************************************************************************
Failed to ansible-playbook result-info.yaml