garbd requires port number in sysconfig
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.6 |
Fix Released
|
Undecided
|
Krunal Bauskar |
Bug Description
Comments in /etc/sysconfig/garb indicates that adding port is optional:
# A comma-separated list of node addresses (address[:port]) in the cluster
And yet, if you won't add the port, garb fails to start:
GALERA_
Oct 6 11:59:57 wpq001 systemd: Starting Galera Arbitrator Daemon...
Oct 6 11:59:57 wpq001 systemd: Started Galera Arbitrator Daemon.
Oct 6 11:59:57 wpq001 garb-systemd: Starting garbd
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.100 INFO: CRC-32C: using hardware acceleration.
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.100 INFO: Read config:
Oct 6 11:59:57 wpq001 garb-systemd: daemon: 0
Oct 6 11:59:57 wpq001 garb-systemd: name: garb
Oct 6 11:59:57 wpq001 garb-systemd: address: gcomm:/
Oct 6 11:59:57 wpq001 garb-systemd: group: wpq-cluster
Oct 6 11:59:57 wpq001 garb-systemd: sst: trivial
Oct 6 11:59:57 wpq001 garb-systemd: donor:
Oct 6 11:59:57 wpq001 garb-systemd: options: gcs.fc_
Oct 6 11:59:57 wpq001 garb-systemd: cfg:
Oct 6 11:59:57 wpq001 garb-systemd: log:
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.101 INFO: protonet asio version 0
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.101 INFO: Using CRC-32C for message checksums.
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.101 INFO: backend: asio
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.102 WARN: access file(./
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.102 INFO: restore pc from disk failed
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.102 INFO: GMCast version 0
Oct 6 11:59:57 wpq001 garb-systemd: 2015-10-06 11:59:57.102 FATAL: Exception in creating receive loop.
Oct 6 11:59:57 wpq001 systemd: garb.service: main process exited, code=exited, status=1/FAILURE
Oct 6 11:59:57 wpq001 systemd: Unit garb.service entered failed state.
Percona-
If you add port, service starts normally:
GALERA_
Verified it and able to reproduce the issue.
2015-10-12 02:20:32.662 INFO: CRC-32C: using "slicing-by-8" algorithm. limit=9999999; gcs.fc_factor=1.0; gcs.fc_ master_ slave=yes
2015-10-12 02:20:32.662 INFO: Read config:
daemon: 1
name: garb
address: gcomm://10.0.0.243
group: pxc-pquery
sst: trivial
donor:
options: gcs.fc_
cfg:
log: /tmp/garbd.log
2015-10-12 02:20:32.665 INFO: protonet asio version 0
2015-10-12 02:20:32.665 INFO: Using CRC-32C for message checksums.
2015-10-12 02:20:32.665 INFO: backend: asio
2015-10-12 02:20:32.667 INFO: restore pc from disk successfully
2015-10-12 02:20:32.671 INFO: GMCast version 0
2015-10-12 02:20:32.672 FATAL: Exception in creating receive loop.