diff options
author | Nobuto Murata <nobuto.murata@canonical.com> | 2022-12-07 17:20:14 +0900 |
---|---|---|
committer | Nobuto Murata <nobuto.murata@canonical.com> | 2023-01-03 08:32:36 +0000 |
commit | 04321d3324c0c290c79cc22df38ea5a767e05687 (patch) | |
tree | 8e90a1fa424da7ce3c13d52f991f5e4e7c722ab7 | |
parent | c6ddf55f7f0e32f7b8d24173cd963bbd37c11e0a (diff) | |
download | designate-04321d3324c0c290c79cc22df38ea5a767e05687.tar.gz |
Make sure proxy_http is always loaded for devstack
With the minimal Designate deployment with devstack, keystone module
doesn't load proxy_http so Designate API requests may fail. Explicitly
enable the module to make sure the apache2 setup always works for
Designate.
Closes-Bug: #1999019
Change-Id: I1fc02225b6676b68137245df2279340f215221f4
-rw-r--r-- | devstack/lib/wsgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devstack/lib/wsgi b/devstack/lib/wsgi index 37633c3e..7ef48989 100644 --- a/devstack/lib/wsgi +++ b/devstack/lib/wsgi @@ -4,6 +4,8 @@ function designate_configure_uwsgi { # We are using the http transport to work around an issue with # broken connections when using the uwsgi protocol of a local socket # See bug: https://github.com/unbit/uwsgi/issues/2368 + enable_apache_mod proxy + enable_apache_mod proxy_http wsgi_conf=$(apache_site_config_for designate-api-wsgi) echo 'ProxyPass "/dns" "http://127.0.0.1:60053" retry=0' | sudo tee $wsgi_conf |