51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

kubesphere 安装 k8s etcd 启动失败

kubesphere 安装 k8s etcd 启动失败

2:11:51 CST [ETCDConfigureModule] Restart etcd
12:11:51 CST stdout: [master]
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.
12:11:51 CST message: [master]
start etcd failed: Failed to exec command: sudo -E /bin/bash -c "systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd" 
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.: Process exited with status 1
12:11:51 CST retry: [master]
12:11:56 CST stdout: [master]
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.
12:11:56 CST message: [master]
start etcd failed: Failed to exec command: sudo -E /bin/bash -c "systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd" 
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.: Process exited with status 1
12:11:56 CST retry: [master]
12:12:01 CST stdout: [master]
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.
12:12:01 CST message: [master]
start etcd failed: Failed to exec command: sudo -E /bin/bash -c "systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd" 
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.: Process exited with status 1
12:12:01 CST failed: [master]
error: Pipeline[CreateClusterPipeline] execute failed: Module[ETCDConfigureModule] exec failed: 
failed: [master] [RestartETCD] exec failed after 3 retires: start etcd failed: Failed to exec command: sudo -E /bin/bash -c "systemctl daemon-reload && systemctl restart etcd && systemctl enable etcd" 
Job for etcd.service failed because the control process exited with error code. See "systemctl status etcd.service" and "journalctl -xe" for details.: Process exited with status 1
[root@master kubekey]# 

解决方案:

查看日志发现:

listen tcp 8.146.210.1:2380: bind: cannot assign requested address

连接

赞(5)
未经允许不得转载:工具盒子 » kubesphere 安装 k8s etcd 启动失败