From beeb6a89257a68305d16104fff4fc3c7a5d06544 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 3 Feb 2017 11:05:17 -0500 Subject: [PATCH] Warn our users about Nova API in WSGI with Apache It was suggested by Nova team to not deploying Nova API in WSGI with Apache in production. It's causing some issues that we didn't catch until now (see in the bug report). Change-Id: I163c85337437704ec3668fc9fa5e2c40eb23248c Related-Bug: 1661360 --- manifests/wsgi/apache_api.pp | 2 ++ releasenotes/notes/nova_wsgi-a9ee8c336a67a7ac.yaml | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/nova_wsgi-a9ee8c336a67a7ac.yaml diff --git a/manifests/wsgi/apache_api.pp b/manifests/wsgi/apache_api.pp index 1183669d6..df4b67534 100644 --- a/manifests/wsgi/apache_api.pp +++ b/manifests/wsgi/apache_api.pp @@ -110,6 +110,8 @@ class nova::wsgi::apache_api ( fail('::nova::api class must be declared in composition layer.') } + warning('deploying Nova API in WSGI with Apache is not recommended by Nova team. See LP#1661360.') + ::openstacklib::wsgi::apache { 'nova_api_wsgi': bind_host => $bind_host, bind_port => $api_port, diff --git a/releasenotes/notes/nova_wsgi-a9ee8c336a67a7ac.yaml b/releasenotes/notes/nova_wsgi-a9ee8c336a67a7ac.yaml new file mode 100644 index 000000000..bb79ed3a6 --- /dev/null +++ b/releasenotes/notes/nova_wsgi-a9ee8c336a67a7ac.yaml @@ -0,0 +1,5 @@ +--- +issues: + - Using nova::wsgi::apache_api to deploy Nova in WSGI with Apache is not + recommended by Nova team. See `bug 1661360 + `__.