Files
monasca-api/devstack/override-defaults
Artur Basiak e366823ac5 Mofidy tempest tests and WSGI_MODE for keystone
Keystone in default devstack installation runs as a uwsgi process
which isn't using ports 5000 and 35357. Instead it uses aliases bind
to default http port.
Set up keystone installation to runs as wsgi which uses default ports
that are used by monasca components.
Change tempest tests configuration to work with
keystone deployed in uwsgi mode.
Remove custom tempest.conf file. Using configure_auth_token_middleware
for monasca-api configuration file and use openrc to generate
environmental variables.

Story: 2000995
Task: 4173

Change-Id: I337609a471a8ee8e350e149df9e9d7924a730f57
2017-05-02 15:22:35 +02:00

8 lines
255 B
Plaintext

if [[ "${MONASCA_API_IMPLEMENTATION_LANG,,}" == 'java' ]]; then
WSGI_MODE=mod_wsgi
else
# For python version we still needs mod_wsgi because monasca-agent
# and python-monascaclient doesn't works with Keystone in UWSGI mode.
WSGI_MODE=mod_wsgi
fi