zun/devstack/settings
Hongbin Lu 4d0a4f8b02 Make docker cluster store point to right cluster
Devstack set the docker cluster store to point to the etcd cluster
in current host. In multinode gate, each node setup an independent
etcd cluster so docker in each host uses an independent store.
This will result in an issue that resources (i.e. network) created
in one node cannot be found in another node.

This commit fix it by making all nodes use the same etcd cluster
in service host.

Partial-Implements: blueprint multi-node-ci
Change-Id: Ieeecc2ef14a1077a2ef91ee369b317f53d7ffb81
2017-09-01 10:38:13 -04:00

33 lines
780 B
Plaintext

# Devstack settings
## Modify to your environment
# FLOATING_RANGE=192.168.1.224/27
# PUBLIC_NETWORK_GATEWAY=192.168.1.225
# PUBLIC_INTERFACE=em1
# FIXED_RANGE=10.0.0.0/24
## Log all output to files
# LOGFILE=$HOME/devstack.log
# SCREEN_LOGDIR=$HOME/logs
## Neutron settings
# Q_USE_SECGROUP=True
# ENABLE_TENANT_VLANS=True
# TENANT_VLAN_RANGE=
# PHYSICAL_NETWORK=public
# OVS_PHYSICAL_BRIDGE=br-ex
# Configure Docker cluster store
DOCKER_CLUSTER_STORE=${DOCKER_CLUSTER_STORE:-etcd://$SERVICE_HOST:$ETCD_PORT}
# Enable Zun services
if [[ ${HOST_IP} == ${SERVICE_HOST} ]]; then
enable_service zun-api
enable_service zun-compute
enable_service zun-wsproxy
else
enable_service zun-compute
fi
if [[ ${ZUN_DB_TYPE} == "etcd" ]]; then
enable_service zun-etcd
fi