I am deploying on ipv6 environment too, and there is no lucky, two errors are hit, any help is really appreciated.
1. getaddrinfo failed
Already add the ipv6 and hostname in /etc/hosts and dnsdomainname return a good value, does anyone know or have a clue about why this error is still happening? it might also happens on ipv4, but usually it 's working when the cluster first created, after reboot or rebuild the my.cnf with other ip address values, it just appears, so does galera keep the dns look up cache?
140908 1:52:50 [ERROR] WSREP: failed to open gcomm backend connection: 113:
getaddrinfo failed with error 'Name or service not known' (-2) for tcp:// [2001:db8:1:0:f9df:1c05:f1f5:ec2a]:4567: 113 (No route to host) at galerautils/src/gu_resolver.cpp:resolve():530
140908 1:52:50 [ERROR] WSREP: gcs/src/gcs_core.c:gcs_core_open():196: Failed to open backend connection: -113 (No route to host)
140908 1:52:50 [ERROR] WSREP: gcs/src/gcs.c:gcs_open():1292: Failed to open channel 'juju_cluster' at 'gcomm://juju-xianghui-machine-2, [2001:db8:1:0:f9df:1c05:f1f5:ec2a]:4567': -113 (No route to host)
140908 1:52:50 [ERROR] WSREP: gcs connect failed: No route to host
140908 1:52:50 [ERROR] WSREP: wsrep::connect() failed: 7
140908 1:52:50 [ERROR] Aborting
2. If the above error isn't reported, then next below error appears, 'connection timeout', I am wondering if the cluster is using ipv6 multicast depends on physical environment support ipv6 multicast? is there any place to indicate how the gcomm cluster address and the group works with any protocol layer?
140908 1:10:10 [Note] WSREP: gcomm: connecting to group 'juju_cluster', peer 'juju-xianghui-machine-2:,juju-xianghui-machine-1:'
140908 1:10:10 [Warning] WSREP: (e0de3f8f-36f4-11e4-827e-f76099c53dc0, 'tcp://[::]:4567') address 'tcp://[2001:db8:1:0:754d:f9a8:1c10:7932]:4567' points to own listening address, blacklisting
140908 1:10:13 [Warning] WSREP: no nodes coming from prim view, prim not possible
140908 1:10:13 [Note] WSREP: view(view_id(NON_PRIM,e0de3f8f-36f4-11e4-827e-f76099c53dc0,1) memb {
e0de3f8f-36f4-11e4-827e-f76099c53dc0,
} joined {
} left {
} partitioned {
})
140908 1:10:13 [Warning] WSREP: last inactive check more than PT1.5S ago (PT3.50252S), skipping check
140908 1:10:43 [Note] WSREP: view((empty))
140908 1:10:43 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 (Connection timed out)
at gcomm/src/pc.cpp:connect():141
140908 1:10:43 [ERROR] WSREP: gcs/src/gcs_core.c:gcs_core_open():196: Failed to open backend connection: -110 (Connection timed out)
140908 1:10:43 [ERROR] WSREP: gcs/src/gcs.c:gcs_open():1292: Failed to open channel 'juju_cluster' at 'gcomm://juju-xianghui-machine-2,juju-xianghui-machine-1': -110 (Connection timed out)
140908 1:10:43 [ERROR] WSREP: gcs connect failed: Connection timed out
140908 1:10:43 [ERROR] WSREP: wsrep::connect() failed: 7
140908 1:10:43 [ERROR] Aborting
I know there is little interest on ipv6 at this moment, but would someone to tell the mechanism of how the cluster communicate between each other when ipv6 is used.
Thanks in advance.