Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装Prometheus 安装不上 #1372

Open
junnl opened this issue Apr 11, 2024 · 1 comment
Open

安装Prometheus 安装不上 #1372

junnl opened this issue Apr 11, 2024 · 1 comment

Comments

@junnl
Copy link

junnl commented Apr 11, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants