Fix some CloudKitty API responses when behind SSL

Some CloudKitty API responses include a Location header using http
instead of https. Seen with `openstack rating module enable hashmap`.

Change-Id: I11158bbfd2006e3574e165b6afc9c223b018d4bc
Closes-Bug: #1888544
This commit is contained in:
Pierre Riteau 2020-07-22 18:59:36 +02:00
parent cf97aeeb83
commit cd55c8f4b2
2 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,9 @@ memcache_security_strategy = ENCRYPT
memcache_secret_key = {{ memcache_secret_key }} memcache_secret_key = {{ memcache_secret_key }}
memcached_servers = {% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} memcached_servers = {% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
[oslo_middleware]
enable_proxy_headers_parsing = True
[oslo_concurrency] [oslo_concurrency]
lock_path = /var/lib/cloudkitty/tmp lock_path = /var/lib/cloudkitty/tmp

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes issues with some CloudKitty commands trying to connect to an external
TLS endpoint using HTTP. `LP#1888544 <https://launchpad.net/bugs/1888544>`__