<p dir="ltr"><br>
13 авг. 2015 г. 7:57 пользователь "zhanghongzhou" <<a href="mailto:zhang.hongzhou@hotmail.com">zhang.hongzhou@hotmail.com</a>> написал:<br>
><br>
> 1. The cluster network is 192.168.xxx.xxx <br>
> 2. Another NIC on one of the nodes is 10.xxx.xxx.xxx<br>
> 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<br>
> 4. Other nodes can't connect to 10.xxx.xxx.xxx, so error message below:<br>
><br>
> Aug 13 12:42:57 ERROR [block] connect_to(193) failed to connect to <a href="http://10.239.129.191:7000">10.239.129.191:7000</a>: Network is unreachable<br>
> Aug 13 12:42:57 ERROR [block] connect_to(193) failed to connect to <a href="http://10.239.129.191:7000">10.239.129.191:7000</a>: Network is unreachable<br>
> 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<br>
><br>
> It's not a terrible issue since we can specify NIC in commandline. But then the code to get_local_addr() will be unnecessary. <br>
><br>
> Do we have plan to improve it?</p>
<p dir="ltr">If you have ideas I can write some code, now I'm always specify address in sheep to avoid confusion.<br>
><br>
> Thanks.<br>
><br>
> --<br>
> sheepdog-users mailing lists<br>
> <a href="mailto:sheepdog-users@lists.wpkg.org">sheepdog-users@lists.wpkg.org</a><br>
> <a href="https://lists.wpkg.org/mailman/listinfo/sheepdog-users">https://lists.wpkg.org/mailman/listinfo/sheepdog-users</a><br>
><br>
</p>