This is marked as resolved, but trying with MariaDB 10.1 this is still failing for me.
My configuration:
bind-address = *
wsrep_on=ON
wsrep_provider=/usr/lib/galera/libgalera_smm.so
wsrep_sst_method=rsync
wsrep_node_address="2a00:f10:121:XX:XX:a0ff:fe00:1bc7"
MariaDB fails to start and this is what I see in my logs:
Feb 17 15:49:12 ns011 mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
Feb 17 15:49:12 ns011 mysqld_safe: WSREP: Running position recovery with --log_error='/var/lib/mysql/wsrep_recovery.Ovq0A1' --pid-file='/var/lib/mysql/ns011-recover.pid'
Feb 17 15:49:12 ns011 mysqld: 2016-02-17 15:49:12 139651198633920 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1~trusty-log) starting as process 16377 ...
Feb 17 15:49:14 ns011 mysqld_safe: WSREP: Recovered position 6788b125-d581-11e5-b085-1fb01fb1ac24:0
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1~trusty-log) starting as process 16422 ...
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [Note] WSREP: Read nil XID from storage engines, skipping position init
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib/galera/libgalera_smm.so'
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [Note] WSREP: wsrep_load(): Galera 25.3.12(r3516) by Codership Oy <info@codership.com> loaded successfully.
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [Note] WSREP: CRC-32C: using hardware acceleration.
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [ERROR] WSREP: Can't parse port number from '1bc7': 22 (Invalid argument)
Feb 17 15:49:15 ns011 mysqld: #011 at galerautils/src/gu_uri.cpp:parse_authority():69
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [ERROR] WSREP: wsrep::init() failed: 7, must shutdown
Feb 17 15:49:15 ns011 mysqld: 2016-02-17 15:49:15 140428953855936 [ERROR] Aborting
So it has troubles parsing the IPv6 address.
I also tried:
wsrep_node_address="[2a00:f10:121:XX:XX:a0ff:fe00:1bc7]"
But that failed as well.
WSREP: Can't parse port number from '1bc7]': 22 (Invalid argument)
This is on a Ubuntu 14.04 system with 10.1.11+maria-1~trusty
Anything I'm missing here? The documentation doesn't show anything regarding IPv6.
thank you