easzlab / kubeasz

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
https://github.com/easzlab/kubeasz
10.39k stars 3.49k forks source link

安装Prometheus 安装不上 #1372

Closed junnl closed 3 months ago

junnl commented 5 months ago

What happened? 发生了什么问题?

按照教程下载后改了配置文件 dk ezctl setup k8s-01 07

TASK [cluster-addon : helm 创建 kube-prometheus-stack 45.23.0] ** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/etc/kubeasz/bin/helm upgrade prometheus --install -n monitor -f /etc/kubeasz/clusters/k8s-01/yml/prom-values.yaml /etc/kubeasz/roles/cluster-addon/files/kube-prometheus-stack-45.23.0.tgz", "delta": "0:00:04.544547", "end": "2024-04-11 13:14:01.501360", "msg": "non-zero return code", "rc": 1, "start": "2024-04-11 13:13:56.956813", "stderr": "Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress", "stderr_lines": ["Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress"], "stdout": "", "stdout_lines": []}

What did you expect to happen? 期望的结果是什么?

不知道怎么解决这个问题

How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题

安装完集群后,安装Prometheus,dk ezctl setup k8s-01 07 这一步之后,一直报错

Anything else we need to know? 其他需要说明的情况

No response

Kubernetes version k8s 版本

* kubernetes: v1.29.0 * etcd: v3.5.10 * calico: v3.26.4

Kubeasz version

DOCKER_VER=24.0.7 KUBEASZ_VER=3.6.3 K8S_BIN_VER=v1.29.0

OS version 操作系统版本

CentOS Linux 7 (Core) Linux node-1 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况

flichote commented 4 months ago

when I use yum -y install ansible. it is ok!

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.