Linux tank1sim 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux CTDB version 2.5.1 Glusterfs 3.5.0 Config files root@tank1sim:/# cat /etc/default/ctdb CTDB_RECOVERY_LOCK=/mnt/main/lock/ctdb_recovery.lock CTDB_NODES=/etc/ctdb/nodes CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses CTDB_PUBLIC_INTERFACE=eth1 CTDB_MANAGES_SAMBA=no CTDB_MANAGES_WINBIND=no ulimit -n 10000 CTDB_LOGFILE=/var/log/ctdb/log.ctdb CTDB_SYSLOG=no CTDB_DEBUGLEVEL=NOTICE CTDB_PUBLIC_NETWORK="10.160.9.0/24" CTDB_PUBLIC_GATEWAY="10.160.9.1" root@tank1sim:/# cat /etc/ctdb/nodes 192.168.0.2 192.168.0.3 root@tank1sim:/# cat /etc/ctdb/public_addresses 10.160.9.59/24 eth1 10.160.9.178/24 eth1 10.160.9.207/24 eth1 10.160.9.208/24 eth1 10.160.9.209/24 eth1 Connectivity root@tank1sim:/# ctdb status Number of nodes:2 pnn:0 192.168.0.2 OK (THIS NODE) pnn:1 192.168.0.3 OK Generation:2133887809 Size:2 hash:0 lmaster:0 hash:1 lmaster:1 Recovery mode:NORMAL (0) Recovery master:0 root@tank1sim:/# ping google.com ping: unknown host google.com root@tank1sim:/# ping 10.160.9.1 PING 10.160.9.1 (10.160.9.1) 56(84) bytes of data. 64 bytes from 10.160.9.1: icmp_seq=1 ttl=64 time=3.88 ms ^C --- 10.160.9.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 3.884/3.884/3.884/0.000 ms root@tank1sim:/# ping 10.160.90.47 connect: Network is unreachable 10.160.9.1 is the gateway. I can ping gateway. 10.160.90.47 is the dns nameserver. I have also tried manually inserting servers via /etc/hosts fails but this fails. My hope is that I misconfigured something instead of this being a bug... Thanks guys.
CTDB does not have following config variables: CTDB_PUBLIC_NETWORK CTDB_PUBLIC_GATEWAY If you want CTDB to manage the default route, you can create a static routes file as follows: ----- /etc/ctdb/static-routes ----- eth1 0.0.0.0/0 10.160.9.1 ----- /etc/ctdb/static-routes -----
No further information received. Assuming this is not a CTDB bug...