zun/devstack/settings
Kien Nguyen 9a64e23333 [Multinode gate] Fix error failed to update store
By default, kuryr-libnetwork set DOCKER_CLUSTER_STORE to localhost [1]
It will raise error failed to update store [2]

NOTE: This fix won't fix all error with multinode gate. The gate still failed
      because the error KuryrException: Another pool with same cidr exist.

[1] https://github.com/openstack/kuryr-libnetwork/blob/master/devstack/settings#L23
[2]
http://logs.openstack.org/11/494111/11/experimental/gate-tempest-dsvm-zun-multinode-docker-sql-ubuntu-xenial-nv/d2145e8/logs/screen-zun-compute.txt.gz#_Aug_20_06_16_07_462697

Change-Id: I95baae5d42af6a61ddf684673433621297f000ab
2017-08-21 09:43:32 +07:00

33 lines
775 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://$HOST_IP:$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