Fix grenade job wsgi module tranition
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
This commit is contained in:
12
devstack/upgrade/from-2025.1/upgrade-octavia
Normal file
12
devstack/upgrade/from-2025.1/upgrade-octavia
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/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
|
||||||
|
}
|
||||||
@@ -65,7 +65,6 @@
|
|||||||
- ^tools/.*$
|
- ^tools/.*$
|
||||||
- ^(test-|)requirements.txt$
|
- ^(test-|)requirements.txt$
|
||||||
- ^tox.ini$
|
- ^tox.ini$
|
||||||
voting: false # due to LP#2109665
|
|
||||||
- octavia-grenade-skip-level:
|
- octavia-grenade-skip-level:
|
||||||
irrelevant-files: *grenade-irrelevant-files
|
irrelevant-files: *grenade-irrelevant-files
|
||||||
voting: false
|
voting: false
|
||||||
@@ -107,8 +106,7 @@
|
|||||||
- octavia-v2-dsvm-scenario-traffic-ops-ubuntu-jammy
|
- octavia-v2-dsvm-scenario-traffic-ops-ubuntu-jammy
|
||||||
- octavia-v2-dsvm-scenario-non-traffic-ops-ubuntu-jammy
|
- octavia-v2-dsvm-scenario-non-traffic-ops-ubuntu-jammy
|
||||||
- octavia-v2-dsvm-tls-barbican
|
- octavia-v2-dsvm-tls-barbican
|
||||||
- octavia-grenade:
|
- octavia-grenade
|
||||||
voting: false
|
|
||||||
#- octavia-grenade-skip-level
|
#- octavia-grenade-skip-level
|
||||||
periodic:
|
periodic:
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user