[MDEV-9890] wsrep_cluster_address does not accept IPv6 addresses Created: 2016-04-09 Updated: 2019-09-19 Resolved: 2019-09-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.1.8, 10.1.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Markus Ueberall | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Not a Bug | Votes: | 2 |
| Labels: | galera | ||
| Environment: |
Ubuntu Xenial, Ubuntu Trusty |
||
| Issue Links: |
|
||||||||||||
| Description |
|
According to https://mariadb.com/kb/en/mariadb/does-mariadb-support-ipv6/, ``The Galera wsrep_node_address setting has accepted ipv6 since MariaDB 10.1.8''. [Warning] WSREP: Failed to resolve tcp://fd00::1 Note that this is a parsing problem--substituting the aformentioned addresses with names will work: (The latter, however, especially in the case of local addresses, requires you to use, e.g., unbound to map those names to addresses in the first place.) |
| Comments |
| Comment by Geoff Montee (Inactive) [ 2019-03-02 ] | |||||
|
galera_ipv6_mariabackup.cnf added to the MariaDB automated tests with Also see here:
https://en.wikipedia.org/wiki/IPv6_address#Literal_IPv6_addresses_in_network_resource_identifiers Does it work for you if you enclose the addresses in square brackets? | |||||
| Comment by Markus Ueberall [ 2019-03-03 ] | |||||
|
Sorry, I cannot retest this easily nowadays; a couple of months after filing the bug report, I removed all literal IP addresses from the configuration files for good (so the above does not concern me anymore) and am currently only using internal IPv4 networks for clusters. With the aforementioned setup and MariaDB 10.3.x, simply shutting down a node and changing wsrep_cluster_address to the old setting (both with and without square brackets) does not show the old "Failed to resolve" warning; this might, however, be well due to the rest of the setup referring to IPv4 addresses. (Looking at the old config files, I see that I used square brackets on one line, but not on the others; maybe I assumed that if parsing of the wsrep_node_address setting below did not trigger an error, the wsrep_cluster_address setting should work as well.)
Since you referred to an automatic test which uses square brackets the way you explained, adding the above reference/an example to the documentation of the wsrep* settings should be enough to close this. | |||||
| Comment by Jan Lindström (Inactive) [ 2019-09-19 ] | |||||
|
These IPv6 issues should be fixed on more recent releases of MariaDB. |