Don't access etcd via localhost

If the etcd cluster is installed via devstack, it will refuse
connection from localhost. Need to use the IP address instead.

Change-Id: I2f46cde21d087b4154594f2b784a4a8c6948932e
This commit is contained in:
Hongbin Lu 2017-09-05 10:29:21 -04:00
parent 88a642e3ff
commit b093cf7106
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ FUXI_BIN_DIR=$(get_python_exec_prefix)
FUXI_UWSGI=$FUXI_BIN_DIR/fuxi-server-wsgi
FUXI_UWSGI_CONF=$FUXI_CONFIG_DIR/fuxi-server-uwsgi.ini
DOCKER_CLUSTER_STORE=${DOCKER_CLUSTER_STORE:-etcd://localhost:$ETCD_PORT}
DOCKER_CLUSTER_STORE=${DOCKER_CLUSTER_STORE:-etcd://$SERVICE_HOST:$ETCD_PORT}
GITREPO["kuryr"]=${KURYR_REPO:-${GIT_BASE}/openstack/kuryr.git}
GITBRANCH["kuryr"]=${KURYR_BRANCH:-master}