On 11 November 2016 at 11:37, Riccardo Murri <[email protected]> wrote: > Hi Pablo, > >>> I have tested elasticluster with SWITCHengines (openstack) and I hit a >>> problem when booting my first test cluster. The nodes are started but I get >>> this error when elasticluster checks the ssh connection to nodes: >>> https://gist.github.com/pescobar/f75b561f5775f20d60139bca9cbc4a47 >>> [...] >>> My guess is that elasticluster is not parsing correctly the public ip. is >>> it possible? Did anyone hit this issue? >> >> I think that your guess is right - This looks certainly a bug in >> ElastiCluster, in that it mistakes an IPv6 address for IPv4+port ... > > Looks like the regexp used to match IPv6 addresses is incorrect:: > > >>> a1 = '2001:620:5ca1:1f0:f816:3eff:fe05:f40f' > >>> IPV6_RE = re.compile('\[([a-f:A-F0-9]*[%[0-z]+]?)\](?::(\d+))?') > >>> m = IPV6_RE.match(a1) > >>> print(m) > None > > I'll try to fix that ASAP.
I have just pushed a fix in commit 165e20224d37a1d33fb2bd11218352; it works for me but as I said I cannot really test because no IPv6 here. Can you please try and let me know? Note that this introduces an additional dependency on Python package `netaddr` so you might need to run `pip install -e .` after update the repo. Ciao, R -- You received this message because you are subscribed to the Google Groups "elasticluster" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
