garb fails to start if no port numbers in config

Bug #1399719 reported by Marc MAURICE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Galera
Fix Committed
Undecided
Unassigned

Bug Description

Hi all,

What is strange is that this was working in a previous galera version.

With GALERA_NODES="192.168.56.104 192.168.56.103" in /etc/default/garb

# /etc/init.d/garb start
nc: port number invalid: 192.168.56.104
nc: port number invalid: 192.168.56.103
nc: port number too small: 0
 * None of the nodes in 192.168.56.104 192.168.56.103 is accessible

With GALERA_NODES="192.168.56.104:4567 192.168.56.103:4567" --> everything is ok.

The port number assignation is wrong (line 120) :
$ ADDRESS="192.168.0.3"
$ PORT=$(echo $ADDRESS | cut -d \: -f 2 )
$ echo $PORT
192.168.0.3

The workaround is to put the default port numbers in the configuration.

Thanks in advance,
Marc

Revision history for this message
Alex Yurchenko (ayurchen) wrote :
Changed in galera:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.