zun/devstack/settings
Hongbin Lu b48df2f5bb Enable WSGI mode in gate only
In before, zun devstack plugin enabled wsgi mode by default. This
patch proposed the reverse: disable wsgi mode by default. This fall
back to the screen mode if users haven't explicitly set
ZUN_USE_MOD_WSGI to True. However, we enable wsgi mode in gate to
satisfy the requirement of community wsgi goal [1].

The rational of this change is to ease the development process by
running zun-api at screen, which is more dev-friendly than running
it in apache2/httpd. In screen, it is easier to do dev operations
like shutdown/restart/debug.

[1] https://governance.openstack.org/tc/goals/pike/
    deploy-api-in-wsgi.html

Change-Id: I8b47a23e94de8676c415a66da2097fc69ceb8336
2017-03-31 15:22:39 +00:00

25 lines
545 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
# Enable Zun services
enable_service zun-api
enable_service zun-compute
if [[ ${ZUN_DB_TYPE} == "etcd" ]]; then
enable_service zun-etcd
fi