当前位置: 首页 > news >正文

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]#

http://www.jsqmd.com/news/336602/

相关文章:

  • yolov8,U-Net++,Transformer
  • 学术导航仪:用书匠策AI解锁期刊论文写作的“超维空间”
  • 论文写作AI工具哪个好?2026年精选8款一键生成论文的软件亲测,AI写作效率与低查重兼得! - 掌桥科研-AI论文写作
  • 石油智能体,让钻头自己“找油”
  • 郑州研究生留学中介前十盘点,口碑好机构详细评测 - 留学机构评审官
  • 时尚必读!圣罗兰YSL六大经典款包,你拥有哪一款?
  • <span class=“js_title_inner“>通过vivado HLS设计一个FIR低通滤波器</span>
  • 定位误差暴降23%!MIT新作VGGT-SLAM 2.0:实时密集前馈场景重建,消除15自由度漂移问题
  • <span class=“js_title_inner“>内存还能涨多久?</span>
  • 2026年本地排名前五GEO优化公司选哪家,小红书推广/百度推广/抖音推广/快手代运营,GEO优化公司推荐排行 - 品牌推荐师
  • 自动驾驶之心春节活动来啦(2.1-2.23)
  • RA-L 2026 南开最新开源!R-VoxelMap:长距离定位不漂移,定位更精准、更稳健!
  • 2026 年热门的陕西保温铝板一体板优质厂家最新推荐榜 - 朴素的承诺
  • 书匠策AI:期刊论文写作的“智能航海图”,带你驶向学术新大陆
  • 2026年泰州、常州好用的非织造布设备分梳辊厂家推荐,哪家靠谱? - 工业推荐榜
  • 【Rust日报】来自 CrabNebula 的 Tauri LLM 插件官方
  • 学术探险家的“智能罗盘”:书匠策AI如何重构期刊论文写作的黄金法则
  • 2026 年比较好的陕西铝镁锰屋面瓦热门品牌厂家推荐榜 - 朴素的承诺
  • sychornized和Lock的区别
  • 【AI开发】—— OpenCode双插件协同开发指南
  • 2026年亚克力制品厂家推荐排行榜:亚克力板/厚板/泳池/鱼缸/水族箱/海洋馆/装饰/收纳盒/展示架/标牌/广告牌,精选透明创意与专业定制优质品牌! - 品牌企业推荐师(官方)
  • 2026 年评价高的陕西保温铝板一体板厂家用户口碑推荐榜 - 朴素的承诺
  • 可直推 | 零一汽车招聘(端到端/大模型/规控/部署/SLAM等)
  • 少走弯路:8个AI论文平台测评!自考毕业论文+科研写作必备工具推荐
  • 一、行业趋势:从产品供应到解决方案的全面升级 - 深度智识库
  • 学术导航仪已就位:书匠策AI解锁期刊论文写作的“超维空间”
  • 【小程序毕设源码分享】基于springboot+小程序的公开课管理系统的设计与实现(程序+文档+代码讲解+一条龙定制)
  • Linux命令详解 —— IP 命令及永久配置
  • 2026年天津农业企业盘点:保定市国强农业发展公司性价比高不高 - mypinpai
  • Flutter艺术探索-Flutter CI/CD配置:GitHub Actions自动化部署