首页 > 其他分享 >rke up etcd报错: etcd cluster is unhealthy

rke up etcd报错: etcd cluster is unhealthy

时间:2023-08-04 14:37:06浏览次数:36  
标签:certificate unhealthy 10.7 failed host health etcd 报错

问题

添加node,rke up报错:

WARN[0197] [etcd] host [10.7.0.51] failed to check etcd health: failed to get /health for host [10.7.0.51]: Get "https://10.7.0.51:2379/health": remote error: tls: bad certificate
WARN[0290] [etcd] host [10.7.0.52] failed to check etcd health: failed to get /health for host [10.7.0.52]: Get "https://10.7.0.52:2379/health": remote error: tls: bad certificate
WARN[0382] [etcd] host [10.7.0.53] failed to check etcd health: failed to get /health for host [10.7.0.53]: Get "https://10.7.0.53:2379/health": remote error: tls: bad certificate
FATA[0382] [etcd] Failed to bring up Etcd Plane: etcd cluster is unhealthy: hosts [10.7.0.51,10.7.0.52,10.7.0.53] failed to report healthy. Check etcd container logs on each host for more information

etcd容器报错:

{"level":"warn","ts":"2023-08-04T05:25:55.981Z","caller":"embed/config_logging.go:169","msg":"rejected connection","remote-addr":"10.7.0.51:37744","server-name":"","error":"tls: failed to verify client certificate: x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kube-ca\")"}

解决办法

可能是因为cluster.rkestate损坏,解决办法如下:

#重建坏的cluster.rkestate文件
rke util get-state-file

#使用rke up升级
rke up --update-only

标签:certificate,unhealthy,10.7,failed,host,health,etcd,报错
From: https://blog.51cto.com/u_14843781/6961979

相关文章

  • 中国电子云 银河麒麟v10yum源报错
    系统默认的yum源报错,访问默认源地址直接返回404,配置以下镜像源###KylinLinuxAdvancedServer10-osrepo###[ks10-adv-os]name=KylinLinuxAdvancedServer10-Osbaseurl=http://update.cs2c.com.cn:8080/NS/V10/V10SP1/os/adv/lic/base/$basearch/gpgcheck=0......
  • Undefined symbol HAL_SRAM_Init (referred from lcd.o) 报错无法使用HAL_SRAM_Init
    前言最近在使用HAL库配置FSMC的时候,发现在使用CubeMX生成的fsmc的配置文件,编译不会报错:UndefinedsymbolHAL_SRAM_Init(referredfromlcd.o)而自己移除CubeMX生成的配置文件,一步步自己配置,就会出现上诉报错,并且将stm32f4xx_hal_sram.h文件包括进去后,仍然报错,奇怪的是MDK编......
  • docker login&&docker search 时报错
    在dockersearch时报错(centos7-9)问题:Errorresponsefromdaemon:Get"https://index.docker.io/v1/search?q=centos&n=25":dialtcp:lookupindex.docker.ioon192.168.6.2:53:readudp192.168.6.137:47270->192.168.6.2:53:i/otimeout  dns问题无......
  • mysql插入报错java.sql.SQLException: Incorrect string value: '\xF0\x9F\x87\xA
    背景环境java8,centos7.9,mysql8.0.34新装的环境,默认给装了mysql8,想着与时俱进用下新版,结果插入就报错java.sql.SQLException:Incorrectstringvalue:'\xF0\x9F\x87\xA8\xF0\x9F...'forcolumn解决方法这个错误通常是由于MySQL数据库中的字符集不支持存储特定的字符或表情符......
  • npm - 报错:found XXX vulnerabilities (XXX low, X moderate),run `npm audit fix` to
    完整报错我正准备 npm 装包,结果失败了,并提示如下报错信息:found808vulnerabilities(804low,4moderate)run`npmauditfix`tofixthem,or`npmaudit`fordetails解决直接按照后面提示的命令执行:npmauditfix解决xxxpackagesarelookingforfundingn......
  • 记录一下Linux下远程访问Mysql连接不上,报错The driver has not received any packets
    问题所在远程服务器已经提前安装好了MySQL,版本也是对应的。在ssh上可以正常进入MySQL数据库。但是其他地方无法连接上,例如navicat和IDE内部都发生报错。排查1.首先排查了一下远程服务器上mysql服务状态是否处于正常运行状态sudoservicemysqldstatus没有发生问题。2.检......
  • 18.python打包win32print时报错,说找不到该模块
    相关插件自己提前安装好。代码:1#encoding:utf-823fromtkinterimport*4fromtkinterimportmessagebox5importwin32print6importtime7fromtkinterimportscrolledtext89#控制输入框只能输入数字且小于8位数10defvalidate_op(in......
  • RTSP流媒体服务器LntonNVR(源码版)平台前端打包出现“UglifyJsPlugin”报错的问题解决
    LntonNVR既有软件版也有硬件版,平台基于RTSP/Onvif协议将前端设备接入,可实现的视频能力有视频监控直播、录像、视频转码分发、检索与回放、云存储、智能告警、国标级联等。平台可将接入的视频流进行转码分发,对外输出的视频流格式包括RTSP、RTMP、HTTP-FLV、WS-FLV、HLS、WebRTC等。......
  • oracle修改数据类型报错
    1. nvarchar和blob类型转换时,直接modify会报错ORA-01735:invalidALTERTABLEoption2. 数字类型降低精度时 当数据库已有数据时,会报错ORA-01440:columntobemodifiedmustbeemptytodecreaseprecisionorscale 以上两种字段类型修改错误可以通过一下方式来避免......
  • ts执行文件报错
    我重新安装了项目的npm包,执行ts文件报错:tscsrc/index.tsnode_modules/@types/node/globals.d.ts:72:13-errorTS2403:Subsequentvariabledeclarationsmusthavethesametype.Variable'AbortSignal'mustbeoftype'{new():AbortSignal;prototype:......