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
This commit is contained in:
Nobuto Murata 2022-12-07 17:20:14 +09:00
parent c6ddf55f7f
commit 04321d3324

View File

@ -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