gluster添加节点失败报错:No route to host
2015-08-25 18:39
316 查看
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
网上有一些描述,都未能提供解决方案:
http://serverfault.com/questions/690894/glusterfs-centos-7-wont-start#
http://funwithlinux.net/2013/02/glusterfs-tips-and-tricks-centos/
http://blog.csdn.net/hanphy/article/details/8901604
其实根因是权限问题,gluster报错比较离谱。
解决方案:
关闭防火墙或开放gluster相关端口权限。
服务器端执行添加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
网上有一些描述,都未能提供解决方案:
http://serverfault.com/questions/690894/glusterfs-centos-7-wont-start#
http://funwithlinux.net/2013/02/glusterfs-tips-and-tricks-centos/
http://blog.csdn.net/hanphy/article/details/8901604
其实根因是权限问题,gluster报错比较离谱。
解决方案:
关闭防火墙或开放gluster相关端口权限。
相关文章推荐
- 关于glusterfs-3.3.1的两个bug
- Glusterfs:趋于成熟的集群文件系统
- Glusterfs简介以及其工作流程的简单分析
- Glusterfs3.3.1DHT(hash分布)源代码分析
- Glusterfs的编译选项 #pragma GCC poison system popen
- 关于Glusterfs为何采用哈希分布式算法
- 基于外部ZooKeeper的GlusterFS作为分布式文件系统的完全分布式HBase集群安装指南
- GlusterFS学习
- GlusterFS基础知识
- 基于 GlusterFS 的高可用 MySQL 数据库系统测试
- glusterfs中split-brain的重现与修复
- 【GlusterFS学习之一】:GlusterFS分布式文件系统的基本概念及搭建
- 【GlusterFS学习之二】:GlusterFS的Self-Heal特性
- 【GlusterFS学习之四】:自动在volfile中生成需要的xlator
- 【GlusterFS学习之五】:trashdir回收站目录只读权限以及白名单的设计与实现
- 【GlusterFS学习之三】:GlusterFS的audit operation xlator设计实现方案
- GlusterFS技术概要分析(转自oschina)
- GlusterFS集群文件系统研究
- 关于Gluster稳定性的一个BUG
- 创建Glusterfs分布式RAID10卷