搭建K8S集群遇到ETCD的报错,报错信息如下,
##一定要关闭防火墙、iptables和SELINUX,三个都要关闭!!
Mar 26 20:39:24 k8s-m1 etcd[6437]: health check for peer 3de62d4888b330ab could not connect: dial tcp 192.168.26.137:2380: connect: no route to host (prober “ROUND_TRIPPER_SNAPSHOT”)
Mar 26 20:39:24 k8s-m1 etcd[6437]: health check for peer 3de62d4888b330ab could not connect: dial tcp 192.168.26.137:2380: connect: no route to host (prober “ROUND_TRIPPER_RAFT_MESSAGE”)
Mar 26 20:39:24 k8s-m1 etcd[6437]: health check for peer c6f4c021208d2dfe could not connect: dial tcp 192.168.26.136:2380: i/o timeout (prober “ROUND_TRIPPER_SNAPSHOT”)
Mar 26 20:39:24 k8s-m1 etcd[6437]: health check for peer c6f4c021208d2dfe could not connect: dial tcp 192.168.26.136:2380: i/o timeout (prober “ROUND_TRIPPER_RAFT_MESSAGE”)
Mar 26 20:39:24 k8s-m1 etcd[6437]: publish error: etcdserver: request timed out

关闭CentOS7防火墙

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

关闭SELINUX

编辑SELINUX文件

vim /etc/selinux/config

将SELINUX=enforcing改为SELINUX=disabled

清除和关闭iptables

清空iptables规则

iptables -F

保存

iptables-save

ETCD启动失败-connect: no route to host相关推荐

  1. k8s dial tcp connect: no route to host

    莫名其妙遇到-pod container 启动失败:Back-off restarting failed container StatefulSet zk 集群 pod 一直处于pending,pv ...

  2. FTP错误 [ftp: connect: No route to host] 解决方法

    FTP错误 [ftp: connect: No route to host] 解决方法 参考文章: (1)FTP错误 [ftp: connect: No route to host] 解决方法 (2) ...

  3. Error from server: Get “https:IP:10250/*“:dial tcp IP:10250: connect: no route to host

    Error from server: Get "https://10.23.XX:10250/containerLogs/kpanda-system/kpanda-controller-ma ...

  4. Ubuntu有线校园网认证窗口提示:could not connect : no route to host

    问题 在Linux系统(Unbuntu22.04)上连接校园网时,遇到一个问题. 因为使用的是有线连接校园网,弹出校园网认证窗口时提示: could not connect: no route to ...

  5. ftp connect: No route to host 解决过程

    2019独角兽企业重金招聘Python工程师标准>>> 问题描述:java 实现的ftp客户端遇到ftp连接No route to host 的报错. 通过ping命令测试网络,可以 ...

  6. 安装calico网络插件后K8s集群节点间通信找不到主机路由(no route to host)

    安装calico网络插件后K8s集群节点间通信找不到主机路由(no route to host) 背景:k8s安装calico网络插件后master节点ping不通其它node节点,但可以ping通外 ...

  7. linux网络编程 no route to host 解决方案

    linux网络编程 no route to host 解决方案 [整合资料] (2013-05-13 21:38:12) 转载▼ 标签: net iptables it 分类: Linux 参考资料 ...

  8. zookeeper启动失败的排错 no route to host 防火墙未关闭导致的

    1.执行zkServer.sh start 后显示: JMX enabled by default Using config:/home/Hadoop/app/zookeeper-3.4.5/bin/ ...

  9. ubuntu: ssh: connect to host ubuntu port 22: No route to host

    启动HDFS系统的时候出现: ubuntu: ssh: connect to host ubuntu port 22: No route to host 这里使用的是HDFS伪分布式系统. 这个ubu ...

最新文章

  1. 用Javascript隐藏超级链接的真实地址
  2. 相机小景深和大景深的区别?
  3. ASP.NET Core中使用GraphQL - 第一章 Hello World
  4. 全民果园为什么服务器在维修中,你在果园管理中遇到的问题这里可以解决
  5. UG NX 12.0入门
  6. 设计模式之 Factory Mode 工厂模式:Swift 实现
  7. history的使用方法
  8. 聊聊那些我们不应该被百度惯坏的搜索技巧
  9. java读取rar中的excel文件_java 通用文件下载 excel,pdf,word,jpg,exe,rar
  10. 【Visual Studio 】Visual Studio 2019 软件安装
  11. 【opencv4.3.0教程】06之基础结构3之Scalar_结构详解
  12. 右键新建excel无法打开
  13. matlab扩展的欧几里得算法_最大公约数问题(欧几里得算法)
  14. Linux内核内存检测工具KASAN
  15. 卉原中学2021年高考成绩查询,卉原中学2021年宿舍条件
  16. 2022-2028全球一次性防护服行业调研及趋势分析报告
  17. 管式超滤膜的清洗步骤,你知道多少?
  18. 字道-最美中国字|如何练好硬笔书法?有什么诀窍?
  19. 2009年世界顶级杀毒软件排名
  20. 噪声与振动控制工程手册_强夯施工振动安全距离研究总结说明

热门文章

  1. c语言课程设计作业求鞍点,求助,最近课设,不会做,求高手帮忙
  2. android id变化,命令行修改Android id
  3. JNI Log 日志输出
  4. [重磅消息]AutoMagic自动化测试平台开源
  5. bugku-杂项-很普通的数独(ISCCCTF)(01转换、画二维码)
  6. Vue的使用(下载vue.min.js+创建测试用的项目+Vue实例创建)
  7. 编译链接运行原理——(二)进程,虚拟地址空间,分段,分页机制
  8. vue中wangEditor的使用及回显数据获取焦点
  9. 顶底突破同花顺副图指标 波浪类指标
  10. 如同使用postman实现接口签名