Parameter acquisition exception

Symptoms

TigerGraph related parameter information cannot be obtained normally.

Error Messages

N/A

Cause

The ETCD service is down and causes configuration information to be unavailable. For example, 'gadmin config get System.AppRoot' returns no value.

Workaround Or Solution

Suggested troubleshooting methods

First, try restarting the ETCD service and ensure that each machine can connect to eachother.

Use the following command to view ETCD service information. Note that you may need to change the given path depending on your system configuration.

ETCDCTL_API=3 ./etcdctl --endpoints=<PRIVATE_IP>:20000 member list
gssh | grep etcd.servers

If the output from etcd does not contain as many servers as those in the line of etcd.servers or the etcd command has an error, you need to add those servers to the etcd cluster.

#stop etcd services on node with issues, for example on m3
gadmin stop etcd#3
# remove etcd data on the node
grun m3 "rm -rf /home/tigergraph/tigergraph/data/etcd/*"
#remove the node from the etcd cluster
ETCDCTL_API=3 /home/tigergraph/tigergraph/app/3.1.5/etcd/etcdctl -- endpoints=<PRIVATE_IP>:20000 member remove http://<ISSUE_NODE_IP>:20000
# start etcd on m3
gadmin start etcd
#add the service on m3 back to the cluster
ETCDCTL_API=3 /home/tigergraph/tigergraph/app/3.1.5/etcd/etcdctl -- endpoints=<PRIVATE_IP>:20000 member add'ETCD#3' --peer-urls=http://<ISSUE_NODE_IP>:20001