这篇文章主要介绍了gluster添加节点失败报错No route to host怎么办,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。
glusterfs 3.4.7和gluster3.6.4都会出现该问题。
服务器端执行添加peer命令报如下错误:
Probe returned with unknown errno 107
对应日志错误信息如下:
[2015-08-25 02:47:06.818281] I [glusterd-handler.c:1031:__glusterd_handle_cli_probe] 0-glusterd: Received CLI probe req node61 24007
[2015-08-25 02:47:06.818633] I [glusterd-handler.c:3198:glusterd_probe_begin] 0-glusterd: Unable to find peerinfo for host: node61 (24007)
[2015-08-25 02:47:06.831101] I [rpc-clnt.c:969:rpc_clnt_connection_init] 0-management: setting frame-timeout to 600
[2015-08-25 02:47:06.834441] I [glusterd-handler.c:3131:glusterd_friend_add] 0-management: connect returned 0
[2015-08-25 02:47:06.834631] E [socket.c:2276:socket_connect_finish] 0-management: connection to 192.168.111.81:24007 failed (No route to host)
[2015-08-25 02:47:06.834823] I [mem-pool.c:545:mem_pool_destroy] 0-management: size=588 max=0 total=0
[2015-08-25 02:47:06.834836] I [mem-pool.c:545:mem_pool_destroy] 0-management: size=124 max=0 total=0
其实根因是权限问题,gluster报错比较离谱。
解决方案:
关闭防火墙或开放gluster相关端口权限。
感谢你能够认真阅读完这篇文章,希望小编分享的“gluster添加节点失败报错No route to host怎么办”这篇文章对大家有帮助,同时也希望大家多多支持亿速云,关注亿速云行业资讯频道,更多相关知识等着你来学习!
原创文章,作者:bd101bd101,如若转载,请注明出处:https://blog.ytso.com/223288.html