Go to file
JamesGibo d30bb2e6d1 Add functionality to accept both HTTP and HTTPS during upgrade
Enable TLS on internal communication has 2 parts
* Enabling TLS on the internal VIPs for haproxy frontends
* Enabling TLS on the service backends
Haproxy has support for enabling TLS on frontends and backends,
but doing so would cause downtime.

In the case of upgrading frontends, enabling TLS would prevent
openstack services from working until their config is changed
from http to https, as they do not follow redirects.

In the case of backends haproxy would mark each backend as down
because if could not initiate a HTTPS connection to the backend
until the backend is updated.

This patch fixes this and allows haproxy to accept both HTTP and
HTTPS on the same well known port for each service. It also
allows for both HTTP and HTTPS backends.

Support for HTTP and HTTPS on the frontend is enabled by setting
haproxy_tcp_upgrade_frontend: true

Support for HTTP and HTTPS on the backend is enabled by setting
haproxy_tcp_upgrade_backend: true

This is a temporary patch and will be removed once instances have
been upgraded to HTTPS for internal communications in a future
release of OSA.

Change-Id: I4279005d5b4e6133cf85ba43379b51149c838f17
2022-02-18 14:40:14 +00:00
2018-06-20 16:29:56 +08:00
2022-01-12 08:48:25 +00:00
2020-06-16 10:26:56 +00:00
2019-04-19 19:45:03 +00:00
2016-08-21 17:00:50 +01:00
2016-09-27 16:02:41 +00:00
2019-08-19 01:43:26 -07:00
2020-04-14 20:50:38 +08:00
2020-04-14 20:50:38 +08:00

Team and repository tags

image

OpenStack-Ansible HAProxy server

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-haproxy_server/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-haproxy_server/

The project source code repository is located at:

https://opendev.org/openstack/openstack-ansible-haproxy_server/

The project home is at:

https://launchpad.net/openstack-ansible

The project bug tracker is located at:

https://bugs.launchpad.net/openstack-ansible

Description
Role haproxy_server for OpenStack-Ansible
Readme 5 MiB
Languages
Jinja 69%
Python 31%