tikv无法启动

【 TiDB 使用环境】生产环境 /测试/ Poc
【 TiDB 版本】
【复现路径】做过哪些操作出现的问题
【遇到的问题:问题现象及影响】
【资源配置】进入到 TiDB Dashboard -集群信息 (Cluster Info) -主机(Hosts) 截图此页面
【附件:截图/日志/监控】
这个是集群初始化的配置(服务器8c-32G的只有一块数据盘)
topology.yaml (12.8 KB)
tiup cluster start game-tidb --init
tikv无法启动,tikv.log
[2024/03/28 13:56:04.927 +00:00] [INFO] [util.rs:638] [“connecting to PD endpoint”] [endpoints=172.31.4.219:2379] [thread_id=0x5]
[2024/03/28 13:56:06.928 +00:00] [INFO] [util.rs:600] [“PD failed to respond”] [err=“Grpc(RpcFailure(RpcStatus { code: 4-DEADLINE_EXCEEDED, message: "Deadline Exceeded", details: }))”] [endpoints=172.31.4.219:2379] [thread_id=0x5]
[2024/03/28 13:56:06.928 +00:00] [INFO] [util.rs:638] [“connecting to PD endpoint”] [endpoints=172.31.3.137:2379] [thread_id=0x5]
[2024/03/28 13:56:08.929 +00:00] [INFO] [util.rs:600] [“PD failed to respond”] [err=“Grpc(RpcFailure(RpcStatus { code: 4-DEADLINE_EXCEEDED, message: "Deadline Exceeded", details: }))”] [endpoints=172.31.3.137:2379] [thread_id=0x5]
[2024/03/28 13:56:09.230 +00:00] [INFO] [util.rs:638] [“connecting to PD endpoint”] [endpoints=172.31.10.207:2379] [thread_id=0x5]
[2024/03/28 13:56:11.232 +00:00] [INFO] [util.rs:600] [“PD failed to respond”] [err=“Grpc(RpcFailure(RpcStatus { code: 4-DEADLINE_EXCEEDED, message: "Deadline Exceeded", details: }))”] [endpoints=172.31.10.207:2379] [thread_id=0x5]

pd.log
[2024/03/28 13:56:51.153 +00:00] [INFO] [raft.go:929] [“63cfd1826db92bd6 is starting a new election at term 1”]
[2024/03/28 13:56:51.154 +00:00] [INFO] [raft.go:735] [“63cfd1826db92bd6 became pre-candidate at term 1”]
[2024/03/28 13:56:51.154 +00:00] [INFO] [raft.go:830] [“63cfd1826db92bd6 received MsgPreVoteResp from 63cfd1826db92bd6 at term 1”]
[2024/03/28 13:56:51.154 +00:00] [INFO] [raft.go:817] [“63cfd1826db92bd6 [logterm: 1, index: 3] sent MsgPreVote request to 63492e027e02cf4b at term 1”]
[2024/03/28 13:56:51.154 +00:00] [INFO] [raft.go:817] [“63cfd1826db92bd6 [logterm: 1, index: 3] sent MsgPreVote request to 86ede2c7f55b7465 at term 1”]
[2024/03/28 13:56:53.202 +00:00] [WARN] [probing_status.go:70] [“prober detected unhealthy status”] [round-tripper-name=ROUND_TRIPPER_SNAPSHOT] [remote-peer-id=63492e027e02cf4b] [rtt=0s] [error=“dial tcp 172.31.3.137:2380: i/o timeout”]
[2024/03/28 13:56:53.204 +00:00] [WARN] [probing_status.go:70] [“prober detected unhealthy status”] [round-tripper-name=ROUND_TRIPPER_RAFT_MESSAGE] [remote-peer-id=63492e027e02cf4b] [rtt=0s] [error=“dial tcp 172.31.3.137:2380: i/o timeout”]
[2024/03/28 13:56:53.207 +00:00] [WARN] [probing_status.go:70] [“prober detected unhealthy status”] [round-tripper-name=ROUND_TRIPPER_RAFT_MESSAGE] [remote-peer-id=86ede2c7f55b7465] [rtt=0s] [error=“dial tcp 172.31.4.219:2380: i/o timeout”]
[2024/03/28 13:56:53.207 +00:00] [WARN] [probing_status.go:70] [“prober detected unhealthy status”] [round-tripper-name=ROUND_TRIPPER_SNAPSHOT] [remote-peer-id=86ede2c7f55b7465] [rtt=0s] [error=“dial tcp 172.31.4.219:2380: i/o timeout”]

看一下防火墙策略里面是不是对内网端口敞开了

1 个赞

@TiDBer_yangxi aws 的网络配置也要关注,不过,可以考虑直接用tidb cloud

网络问题。

网络不通

一眼网络问题。。。