[sheepdog-users] [Issue]Support for multiple NICs confusion
zhanghongzhou
zhang.hongzhou at hotmail.com
Fri Aug 14 02:51:05 CEST 2015
I think by default CRM should be bound to "cluster ip", not external ip. Otherwise we should specify with "-y".
I can prepare a patch if we agree on this.
Date: Fri, 14 Aug 2015 00:02:39 +0300
Subject: Re: [sheepdog-users] [Issue]Support for multiple NICs confusion
From: v.tolstov at selfip.ru
To: zhang.hongzhou at hotmail.com
CC: sheepdog-users at lists.wpkg.org
13 авг. 2015 г. 7:57 пользователь "zhanghongzhou" <zhang.hongzhou at hotmail.com> написал:
>
> 1. The cluster network is 192.168.xxx.xxx
> 2. Another NIC on one of the nodes is 10.xxx.xxx.xxx
> 3. If I didn't specify using "-y 192.168.xxx.xxx", CRM will adopt the first NIC listed by getifaddrs(), say, 10.xxx.xxx.xxx
> 4. Other nodes can't connect to 10.xxx.xxx.xxx, so error message below:
>
> Aug 13 12:42:57 ERROR [block] connect_to(193) failed to connect to 10.239.129.191:7000: Network is unreachable
> Aug 13 12:42:57 ERROR [block] connect_to(193) failed to connect to 10.239.129.191:7000: Network is unreachable
> Aug 13 12:42:57 ALERT [block] do_get_vdis(514) failed to get vdi bitmap from IPv4 ip:10.239.129.191 port:7000
>
> It's not a terrible issue since we can specify NIC in commandline. But then the code to get_local_addr() will be unnecessary.
>
> Do we have plan to improve it?
If you have ideas I can write some code, now I'm always specify address in sheep to avoid confusion.
>
> Thanks.
>
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20150814/78b19e34/attachment.html>
More information about the sheepdog-users
mailing list