Fix cinder etcd3gw backend_url

Multiple parameters in the URL should be prefixed with an ampersand.

Closes-Bug: #2085908
Change-Id: Ia9e43f7043c0757e11e1924c3df9fe16c037d484
This commit is contained in:
Matt Crees 2024-10-30 10:59:32 +00:00
parent 1c7d17d1ee
commit d808d71630
2 changed files with 7 additions and 1 deletions

View File

@ -264,5 +264,5 @@ backend_url = {{ redis_connection_string }}
# and https://review.opendev.org/466098 for details
# NOTE(jan.gutter): etcd v3.4 removed the default `v3alpha` api_version. Until
# tooz defaults to a newer version, we should explicitly specify `v3`
backend_url = etcd3+{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ etcd_client_port }}?api_version=v3{% if openstack_cacert %}?ca_cert={{ openstack_cacert }}{% endif %}
backend_url = etcd3+{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ etcd_client_port }}?api_version=v3{% if openstack_cacert %}&ca_cert={{ openstack_cacert }}{% endif %}
{% endif %}

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes a bug where the etcd3gw ``backend_url`` in cinder.conf would be
invalid when ``openstack_cacert`` was set.
`LP#2085908 <https://bugs.launchpad.net/kolla-ansible/+bug/2085908>`__