Openstack moved from using wsgi scripts to directly calling the wsgi module due to changes in setuptools that stops the pbr wsgi_scripts from working. This patch adds an upgrade script that reconfigures uwsgi when updating to Flamingo. Change-Id: I5d9bb5ef52217ed5d2361e5855e9f5fc2c1b4111
13 lines
452 B
Bash
13 lines
452 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Openstack moved from using wsgi scripts to directly calling the wsgi module
|
|
# due to changes in setuptools that stops the pbr wsgi_scripts from working.
|
|
# This script will reconfigure uwsgi on upgrade to point to the module instead
|
|
# of the wsgi script that is no longer present in octavia.
|
|
|
|
function configure_octavia_upgrade {
|
|
source $GRENADE_DIR/functions
|
|
|
|
iniset $OCTAVIA_UWSGI_CONF uwsgi module $OCTAVIA_UWSGI_APP
|
|
}
|