
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
DevStack Integration
This directory contains the files necessary to integrate zun with devstack.
Refer the quickstart guide at https://github.com/openstack/zun/blob/master/doc/source/dev/quickstart.rst for more information on using devstack and zun.
To install zun into devstack, add the following settings to enable the zun plugin:
cat > /opt/stack/devstack/local.conf << END
[[local|localrc]]
enable_plugin zun https://git.openstack.org/openstack/zun master
END
Then run devstack normally:
cd /opt/stack/devstack
./stack.sh