首页 > 编程语言 >calico-node 报错calico/node is not ready: BIRD is not ready: BGP not established with 【转】

calico-node 报错calico/node is not ready: BIRD is not ready: BGP not established with 【转】

时间:2023-05-29 17:36:17浏览次数:52  
标签:node Normal BGP kubelet ready calico

今天不知道怎么回事,一台机器的calico-node报错,也就是无法初始化正常

 

 
Events:
  Type     Reason     Age   From               Message
  ----     ------     ----  ----               -------
  Normal   Scheduled  45s   default-scheduler  Successfully assigned kube-system/calico-node-pkbkv to k8s-node2
  Normal   Started    45s   kubelet            Started container install-cni
  Normal   Pulled     45s   kubelet            Container image "docker.io/calico/cni:v3.20.0" already present on machine
  Normal   Started    45s   kubelet            Started container upgrade-ipam
  Normal   Pulled     45s   kubelet            Container image "docker.io/calico/cni:v3.20.0" already present on machine
  Normal   Created    45s   kubelet            Created container install-cni
  Normal   Created    45s   kubelet            Created container upgrade-ipam
  Normal   Started    44s   kubelet            Started container flexvol-driver
  Normal   Pulled     44s   kubelet            Container image "docker.io/calico/pod2daemon-flexvol:v3.20.0" already present on machine
  Normal   Created    44s   kubelet            Created container flexvol-driver
  Normal   Pulled     43s   kubelet            Container image "docker.io/calico/node:v3.20.0" already present on machine
  Normal   Created    43s   kubelet            Created container calico-node
  Normal   Started    43s   kubelet            Started container calico-node
  Warning  Unhealthy  40s   kubelet            Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused
  Warning  Unhealthy  30s   kubelet            Readiness probe failed: 2021-09-15 02:36:49.282 [INFO][417] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with 172.17.6.120,172.17.6.121,172.17.6.122
  Warning  Unhealthy  20s  kubelet  Readiness probe failed: 2021-09-15 02:36:59.282 [INFO][497] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with 172.17.6.120,172.17.6.121,172.17.6.122
  Warning  Unhealthy  10s  kubelet  Readiness probe failed: 2021-09-15 02:37:09.280 [INFO][567] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with 172.17.6.120,172.17.6.121,172.17.6.122

解决办法

 
Remove interfaces related to docker and flannel:
ip link
For each interface for docker or flannel, do the following
ifconfig <name of interface from ip link> down
ip link delete <name of interface from ip link>

移除这台主机多余的docker网卡和calico,删除br开头网卡

然后从重新删除这个错误pod的,就会恢复正常

转自

calico-node 报错calico/node is not ready: BIRD is not ready: BGP not established with - 南宫乘风 - 博客园
https://www.cnblogs.com/heian99/p/15335272.html

标签:node,Normal,BGP,kubelet,ready,calico
From: https://www.cnblogs.com/paul8339/p/17441122.html

相关文章

  • VST实例(5)节点(NODE) 二、节点的遍历
    二、节点的遍历每一个节点都有一个index值,用于描述其在相同level,相同父节点下的序号,但是,遍历时并不能利用这个值,因为这个值是变化的,当进行排序,插入节点、删除节点等等操作时,这个index会发生改变。同样的,vst.AbsoluteIndex(node)返回的是某一节点在VST中的绝对序号,也会在排序等......
  • VST实例(6) 节点(NODE) 特殊节点和节点的增减
    这一部分在程序中并未直接使用,只是对VST的一些特性进行讲解,不喜欢的可以跳过。三、特殊节点1、RootnodepropertyRootNode:PVirtualNode;rootnode不是一个具体的节点,是为了锚定树的层次结构,维护的一个内部树节点,这个节点大部分情况下与其他树节点一样,但有时会有不同的处理。......
  • sockjs.js:1603 GET http://localhost/sockjs-node/info?t=1685340190468 net::ER
    vue项目报错不影响运行,但控制台看到这报错,属实不舒服 解决方法:进入\node_modules\sockjs-client\dist\sockjs.js注释1603行   刷新页面,没报错了 ......
  • vue3学习中使用vue-router@4的问题Invalid VNode type: undefined (undefined)
    首先是按照常规的箭头函数引入的方法,结果报一下错误,且页面报错constHelloWorld=()=>import('../components/HelloWorld.vue'); 解决办法import{defineAsyncComponent}from'vue'constHelloWorld=defineAsyncComponent(()=>import('../components/HelloWorld.vue......
  • Action请求后台出现Response already commited异常解决方法
    在编写导出功能使用action请求,在处理导出异常时期望跳转异常页,Controller中的方法返回类型String的url在处理完逻辑导出文件后后台控制台出现WARN [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver](defaulttask-22)Handlingof[org.springfra......
  • 《Node.js后端全程实战》自序
    《Node.js后端全程实战》自序《JavaScript全栈开发》:https://book.douban.com/subject/35493728/《Vue.js全平台前端实战》:https://book.douban.com/subject/35886403/《Node.js后端全程实战》:https://book.douban.com/subject/36374893/《Node.js后端全程实战》这本书......
  • rabbitMQ windows环境重装后报错RabbitMQ service is already present - only updatin
    错误如下:C:\Users\Administrator>rabbitmq-serviceinstallRabbitMQserviceisalreadypresent-onlyupdatingserviceparametersC:\ProgramFiles\erl\erts\bin\erlsrv:Warning,couldnotsetcorrectinteractivemode.Error:句柄无效。---此行有时显示中文乱码C:\Progr......
  • Node模块导入规则总结
    @目录node模块总结node模块引入的步骤:模块分类node支持的模块系统ESModuleCommonJS模块加载CommonJS模块引入路径分析文件定位带扩展名的文件定位不带扩展名的文件定位ESM模块引入路径分析文件定位带路径不带路径(裸说明符)模块加载器总结对比CommonJS模块加载器ECMAScript模块加......
  • K8S常用操作(node)
    原创文档编写不易,未经许可请勿转载。文档中有疑问的可以邮件联系我。邮箱:[email protected]说明K8S常用操作,记录日常K8S维护作用的常用命令及常见的问题的处理办法,提供简单可行的操作、拍掌的思路方法步骤。本文章为k8s的node相关操作篇,指导读者对k8s集群中的node节点进行日常的......
  • Node.js
    作为一个异步事件驱动的JavaScript运行时,Node.js被设计用来构建可扩展的网络应用。在下面的“HelloWorld”示例中,可以并发处理许多连接,每一个连接都会触发一个回调,而当没有可做的事情时,Node.js就会进入休眠状态。###启动node.jsconsthttp=require('http');constho......