kubeasz icon indicating copy to clipboard operation
kubeasz copied to clipboard

安装Prometheus 安装不上

Open junnl opened this issue 2 years ago • 1 comments

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) 其他网络插件等需要说明的情况

junnl avatar Apr 11 '24 05:04 junnl

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

flichote avatar Apr 29 '24 22:04 flichote

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

github-actions[bot] avatar May 30 '24 21:05 github-actions[bot]

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

github-actions[bot] avatar Jun 06 '24 21:06 github-actions[bot]