news 2026/10/6 1:11:14

openshift 4.20.12安装报错 1 waitforceo.go:69] waiting on condition EtcdRunningInCluster in etcd CR /clus

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
openshift 4.20.12安装报错 1 waitforceo.go:69] waiting on condition EtcdRunningInCluster in etcd CR /clus

openshift 4.20.12安装报错:

1 waitforceo.go:69] waiting on condition EtcdRunningInCluster in etcd CR /cluster to be True

google搜索显示如下:

The message "waiting on condition EtcdRunningInCluster in etcd CR /cluster to be True" indicates that the Kubernetes (specifically OpenShift, where this message is common) operator is waiting for the etcd cluster to successfully form and become healthy. This is a normal part of the bootstrapping process, but if it persists, it typically points to underlying network configuration, DNS, or load balancer issues preventing the etcd members from communicating correctly.

Common Causes and Troubleshooting Steps

If this message repeats for an extended period (e.g., more than 15-30 minutes), the cluster installation may have stalled due to one of the following reasons:

1. Network Configuration and DNS Issues

The most frequent cause is incorrect DNS configuration or a misconfigured load balancer, which prevents the etcd members from finding each other or the API server.

  • Verify DNS Records:Ensure that all control plane (master) nodes can resolve theapi-intandapiURLs to the correct load balancer or virtual IP addresses, and that the load balancer is correctly forwarding traffic to the master nodes.
  • Check Load Balancer Health:Confirm that your load balancer (e.g., HAProxy) is running, configured correctly with all etcd member IPs/hostnames, and that firewall rules allow traffic on the necessary ports (typically 2379/2380 for etcd peer/client communication, and 6443 for the Kubernetes API).

2. Incorrect Member Information

If the installation was previously attempted and failed, etcd members might still be trying to connect to old peer addresses stored in their data directories.

  • Clean up old data:If you are re-running an installation on the same hosts, you may need to delete the etcd data directory (commonly/var/lib/etcd/member) on each etcd host to force a fresh cluster formation. The operator/orchestration tool should then rebuild the directory.

3. Resource Constraints

Insufficient CPU or memory on the bootstrap or control plane nodes can prevent essential services from starting up correctly.

  • Check System Resources:Ensure your nodes meet the minimum system requirements for the specific Kubernetes/OpenShift version you are installing. Use tools liketoporhtopto monitor resource usage.

4. Certificate Issues

Problems with SSL/TLS certificates can prevent secure communication between etcd members.

  • Review Logs:Check the detailed logs of the etcd operator or the etcd service itself using commands likejournalctl -u etcdor by using theoc adm must-gathercommand (in OpenShift) to look for certificate-related errors (e.g., "x509: certificate signed by unknown authority").

Next Steps

To troubleshoot effectively:

  1. Access detailed logsfrom the bootstrap process and the etcd service on the control plane nodes.
  2. Verify your networking setupagainst the official OpenShift documentation or the relevant Kubernetes project's installation guide.
  3. Ensure all prerequisitesregarding DNS, load balancing, and required resources are met.

根据Google提供的信息,根据我的实际情况,我判断是内存不够造成的。所以重新安装。

重新安装后,错误不再出现。

安装后的环境如下所示:

[root@bastion install]# oc get nodes

NAME STATUS ROLES AGE VERSION

master0.prod.cpd.com Ready control-plane,master 41m v1.33.6

master1.prod.cpd.com Ready control-plane,master 40m v1.33.6

master2.prod.cpd.com Ready control-plane,master 41m v1.33.6

worker1.prod.cpd.com Ready worker 20m v1.33.6

worker2.prod.cpd.com Ready worker 20m v1.33.6

worker3.prod.cpd.com Ready worker 20m v1.33.6

[root@bastion install]#

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/10/4 9:47:25

<span class=“js_title_inner“>一个提示词,把文章提炼出成卡通风信息图</span>

今天开始分享一些有用的提示词,首先分享的是一个把文章总结成卡通信息图的提示词。 不管是文章还是帖子类的内容,字数太多或者结构不够清晰时阅读起来总是要花些力气的,那么这个提示词就能帮你总结内容、提炼出关心信息生成卡通风格的信息图帮…

作者头像 李华
网站建设 2026/10/5 21:37:58

<span class=“js_title_inner“>一键部署!OpenCloudOS 多项开源技术打造 “开箱即用” 的 AI 支撑底座</span>

12月6日,在以“以生态之力让OS更懂未来”为主题的 2025 OpenCloudOS 操作系统生态大会上,OpenCloudOS 社区联动昇腾、海光、AMD、沐曦、昆仑芯、vLLM、SGLang、作业帮以及腾讯云,共同发布了 OpenCloudOS Infra 智能基座。这一重磅发布旨在系统…

作者头像 李华
网站建设 2026/10/5 23:26:23

Linus 用 AI 写 Python 代码,还开源了!

👇我的小册 54章教程:(小白零基础用Python量化股票分析小册) ,原价299,限时特价2杯咖啡,满100人涨10元。 转自:CSDN(ID:CSDNnews) 两个月前,在 Linux Foundation 的开源峰会上&#…

作者头像 李华
网站建设 2026/10/5 9:52:00

【小程序毕设源码分享】基于springboot+小程序的公开课管理系统的设计与实现(程序+文档+代码讲解+一条龙定制)

博主介绍:✌️码农一枚 ,专注于大学生项目实战开发、讲解和毕业🚢文撰写修改等。全栈领域优质创作者,博客之星、掘金/华为云/阿里云/InfoQ等平台优质作者、专注于Java、小程序技术领域和毕业项目实战 ✌️技术范围:&am…

作者头像 李华
网站建设 2026/10/4 21:03:50

【小程序毕设全套源码+文档】基于微信小程序的影音点评系统设计与实现(丰富项目+远程调试+讲解+定制)

博主介绍:✌️码农一枚 ,专注于大学生项目实战开发、讲解和毕业🚢文撰写修改等。全栈领域优质创作者,博客之星、掘金/华为云/阿里云/InfoQ等平台优质作者、专注于Java、小程序技术领域和毕业项目实战 ✌️技术范围:&am…

作者头像 李华
网站建设 2026/10/5 18:31:16

Vue3 + Element Plus 项目中使用 html2canvas 截图实战详解

在现代 Web 应用开发中,常常需要将页面中的某一部分内容生成图片,用于保存、打印或上传。html2canvas 是一个非常流行的前端库,它能将 HTML 元素“绘制”成 Canvas,进而导出为图片。本文将结合实际 Vue3 Element Plus 项目代码&a…

作者头像 李华