Mistral doesn't use oslo_middleware.http_proxy_to_wsgi
Bug #1816364 reported by
s10
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
s10 |
Bug Description
Mistral doesn't use oslo_middleware
If the passing of the forward headers (X-Forwarded-For, Host, X-Forwarded-Proto, X-Forwarded-Prefix) is enabled in https terminating proxy and proxy headers parsing is enabled in oslo_middleware, Mistral doesn't use this middleware.
mistral.conf:
[oslo_middleware]
enable_
curl https:/
{"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://
description: | updated |
Changed in mistral: | |
milestone: | none → stein-rc1 |
assignee: | nobody → s10 (vlad-esten) |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/641649 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=ca1acb656cb d1ec30e327fa67c d9f6e75345b14f
Committed: https:/
Submitter: Zuul
Branch: master
commit ca1acb656cbd1ec 30e327fa67cd9f6 e75345b14f
Author: Vlad Gusev <email address hidden>
Date: Thu Mar 7 15:38:57 2019 +0300
Add http_proxy_to_wsgi middleware
This sets up the HTTPProxyToWSGI middleware in front of Mistral API. The
purpose of this middleware is to set up the request URL correctly in
the case there is a proxy (for instance, a loadbalancer such as HAProxy)
in front of the Mistral API.
The HTTPProxyToWSGI is off by default and needs to be enabled via a
configuration value.
It can be enabled with the option in mistral.conf: middleware] proxy_headers_ parsing= True
[oslo_
enable_
Closes-Bug: #1590608 05c3b81ad8c973c 3cc3fe56d36
Closes-Bug: #1816364
Change-Id: I04ba85488b27cb