| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # Openstack moved from using wsgi scripts to directly calling the wsgi module |
| 4 | # due to changes in setuptools that stops the pbr wsgi_scripts from working. |
| 5 | # This script will reconfigure uwsgi on upgrade to point to the module instead |
| 6 | # of the wsgi script that is no longer present in octavia. |
| 7 | |
| 8 | function configure_octavia_upgrade { |
| 9 | source $GRENADE_DIR/functions |
| 10 | |
| 11 | iniset $OCTAVIA_UWSGI_CONF uwsgi module $OCTAVIA_UWSGI_APP |
| 12 | } |