Comment 1 for bug 1444007

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Confirmed.

[root@localhost ~]# rpm -qa | grep -i garbd
Percona-XtraDB-Cluster-garbd-3-3.9-1.3494.rhel7.x86_64
[root@localhost ~]#

[root@localhost ~]# cat /etc/sysconfig/garb
# Copyright (C) 2012 Codership Oy
# This config file is to be sourced by garb service script.

# A space-separated list of node addresses (address[:port]) in the cluster
GALERA_NODES="192.168.7.104"

# Galera cluster name, should be the same as on the rest of the nodes.
GALERA_GROUP="my_centos7_cluster"

# Optional Galera internal options string (e.g. SSL settings)
# see http://www.codership.com/wiki/doku.php?id=galera_parameters
GALERA_OPTIONS=""

# Log file for garbd. Optional, by default logs to syslog
# Deprecated for CentOS7, use journalctl to query the log for garbd
LOG_FILE="/root/garbd.log"

[root@localhost ~]#

[root@localhost ~]# head -7 /usr/bin/garb-systemd
#!/bin/bash -ue
#

config=/etc/sysconfig/garb

log_failure() {
    echo " ERROR! $@"
[root@localhost ~]#

[root@localhost ~]# garb-systemd start
 ERROR! List of GALERA_NODES is not configured
[root@localhost ~]#

[root@localhost ~]# head -7 /usr/bin/garb-systemd
#!/bin/bash -ue
#

config=/etc/sysconfig/garb
source /etc/sysconfig/garb

log_failure() {
[root@localhost ~]#

[root@localhost ~]# garb-systemd start
Starting garbd
terminate called after throwing an instance of 'gu::NotSet'
/usr/bin/garb-systemd: line 13: 4742 Aborted (core dumped) /usr/bin/garbd $*
[root@localhost ~]#