请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

输入systemctl restart etcd

Job for etcd.service failed because a timeout was exceeded. See “systemctl status etcd.service” and “journalctl -xe” for details.

然后 输入:systemctl status etcd.service

etcd.service - Etcd Server
Loaded: loaded (/etc/systemd/system/etcd.service; enabled; vendor preset: disabled)
Active: activating (start) since 六 2019-08-24 23:08:34 CST; 24s ago
Docs: https://github.com/coreos
Main PID: 39037 (etcd)
Tasks: 9
CGroup: /system.slice/etcd.service
└─39037 /opt/kubernetes/bin/etcd --data-dir=/var/lib/etcd --name=m1 --cert-file=/etc/kubernetes/pki/etcd.pem -…

8月 24 23:08:56 m1 etcd[39037]: 65b0a18fc4194767 is starting a new election at term 914
8月 24 23:08:56 m1 etcd[39037]: 65b0a18fc4194767 became candidate at term 915
8月 24 23:08:56 m1 etcd[39037]: 65b0a18fc4194767 received MsgVoteResp from 65b0a18fc4194767 at term 915
8月 24 23:08:56 m1 etcd[39037]: 65b0a18fc4194767 [logterm: 13, index: 6596] sent MsgVote request to 82b9384a3127a…erm 915
8月 24 23:08:56 m1 etcd[39037]: 65b0a18fc4194767 [logterm: 13, index: 6596] sent MsgVote request to 9470d5745a1da…erm 915
8月 24 23:08:58 m1 etcd[39037]: 65b0a18fc4194767 is starting a new election at term 915
8月 24 23:08:58 m1 etcd[39037]: 65b0a18fc4194767 became candidate at term 916
8月 24 23:08:58 m1 etcd[39037]: 65b0a18fc4194767 received MsgVoteResp from 65b0a18fc4194767 at term 916
8月 24 23:08:58 m1 etcd[39037]: 65b0a18fc4194767 [logterm: 13, index: 6596] sent MsgVote request to 82b9384a3127a…erm 916
8月 24 23:08:58 m1 etcd[39037]: 65b0a18fc4194767 [logterm: 13, index: 6596] sent MsgVote request to 9470d5745a1da…erm 916
Hint: Some lines were ellipsized, use -l to show in full.

正在回答 回答被采纳积分+3

1回答

刘果国 2019-08-25 09:06:41

看系统日志,这个看不全

0 回复 有任何疑惑可以回复我~
  • 提问者 慕虎7937911 #1
    Aug 25 14:53:09 m1 kube-apiserver: W0825 14:53:09.059282   12385 asm_amd64.s:1337] Failed to dial 192.168.239.138:2379: grpc: the connection is closing; please retry.
    Aug 25 14:53:09 m1 kube-apiserver: I0825 14:53:09.059270   12385 asm_amd64.s:1337] balancerWrapper: got update addr from Notify: [{192.168.239.136:2379 <nil>} {192.168.239.137:2379 <nil>} {192.168.239.138:2379 <nil>}]
    Aug 25 14:53:09 m1 kube-apiserver: I0825 14:53:09.059317   12385 asm_amd64.s:1337] balancerWrapper: got update addr from Notify: []
    Aug 25 14:53:09 m1 kube-apiserver: I0825 14:53:09.059335   12385 asm_amd64.s:1337] balancerWrapper: got update add
    回复 有任何疑惑可以回复我~ 2019-08-25 14:54:27
  • 刘果国 回复 提问者 慕虎7937911 #2
    “Failed to dial 192.168.239.138:2379”这个telnet检查过吗?
    回复 有任何疑惑可以回复我~ 2019-08-26 08:35:07
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号