yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52105
[Bug 1590608] [NEW] Services should use http_proxy_to_wsgi middleware
Public bug reported:
It's a common problem when putting a service behind a load balancer to
need to forward the Protocol and hosts of the original request so that
the receiving service can construct URLs to the loadbalancer and not the
private worker node.
Most services have implemented some form of secure_proxy_ssl_header =
HTTP_X_FORWARDED_PROTO handling however exactly how this is done is
dependent on the service.
oslo.middleware provides the http_proxy_to_wsgi middleware that handles
these headers and the newer RFC7239 forwarding header and completely
hides the problem from the service.
This middleware should be adopted by all services in preference to their
own HTTP_X_FORWARDED_PROTO handling.
** Affects: barbican
Importance: Undecided
Status: New
** Affects: cinder
Importance: Undecided
Status: New
** Affects: glance
Importance: Undecided
Status: New
** Affects: keystone
Importance: Low
Assignee: Jamie Lennox (jamielennox)
Status: In Progress
** Also affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1590608
Title:
Services should use http_proxy_to_wsgi middleware
Status in Barbican:
New
Status in Cinder:
New
Status in Glance:
New
Status in OpenStack Identity (keystone):
In Progress
Bug description:
It's a common problem when putting a service behind a load balancer to
need to forward the Protocol and hosts of the original request so that
the receiving service can construct URLs to the loadbalancer and not
the private worker node.
Most services have implemented some form of secure_proxy_ssl_header =
HTTP_X_FORWARDED_PROTO handling however exactly how this is done is
dependent on the service.
oslo.middleware provides the http_proxy_to_wsgi middleware that
handles these headers and the newer RFC7239 forwarding header and
completely hides the problem from the service.
This middleware should be adopted by all services in preference to
their own HTTP_X_FORWARDED_PROTO handling.
To manage notifications about this bug go to:
https://bugs.launchpad.net/barbican/+bug/1590608/+subscriptions
Follow ups
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2019-03-26
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: s10, 2019-02-18
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Ryan Beisner, 2018-03-09
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Seyeong Kim, 2018-01-12
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Christophe Sauthier, 2017-09-11
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: gordon chung, 2017-02-09
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-12-23
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-12-08
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-11-21
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-11-03
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-11-01
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-29
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-19
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Jeremy Liu, 2016-10-16
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-16
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Jeremy Liu, 2016-10-16
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-11
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Kirill Zaitsev, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Pallavi, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Pallavi, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Pallavi, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Hanxi Liu, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Juan Antonio Osorio Robles, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Juan Antonio Osorio Robles, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Juan Antonio Osorio Robles, 2016-10-10
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-06-17
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: OpenStack Infra, 2016-06-14
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Jamie Lennox, 2016-06-09
-
[Bug 1590608] Re: Services should use http_proxy_to_wsgi middleware
From: Jamie Lennox, 2016-06-09