wsrep_sst_receive_address autodetection does not work on german linux installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Undecided
|
Unassigned |
Bug Description
wsrep_node_address and wsrep_sst_
shell> locale
LANG=de_DE.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
/sbin/ifconfig
eth0 Link encap:Ethernet Hardware Adresse 00:16:D3:2F:39:2F
inet Adresse:
inet Adresse = german
inet addr = english
2014-03-18 12:55:02 24471 [ERROR] WSREP: Failed to read output of: '/sbin/ifconfig | grep -E '^[[:space:]]+inet addr:' | grep -m1 -v 'inet addr:127' | sed 's/:/ /' | awk '{ print $3 }''
/sbin/ifconfig | grep -E '^[[:space:]]+inet addr:' | grep -m1 -v 'inet addr:127' | sed 's/:/ /' | awk '{ print $3 }'
192.168.1.203
correctly it should be done as follows first:
export LOCALE=C
locale
LANG=en_US.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:D3:2F:39:2F
inet addr:192.168.1.203 Bcast:192.168.1.255 Mask:255.255.255.0
then it should work (same as already reported earlier with older galera releases).