kayobe/releasenotes/notes/prevent-wrong-oscacert-variable-9ede7f60c1562a77.yaml
Pierre Riteau ce212cc23c Prevent openrc files from using wrong OS_CACERT value
Kolla Ansible sets kolla_{external,internal}_fqdn_cacert variables with
default values compatible with the use of `kolla-ansible certificates`.

However, when these variables are left unset in Kayobe, which is
generally the case when using trusted certificates, we end up with
openrc files setting OS_CACERT to a file that does not exist:

    ${KOLLA_CONFIG_PATH}/certificates/haproxy-ca.crt

Instead we allow null cacert variables to be passed to kolla-ansible,
which results in openrc files without the bogus OS_CACERT entry.

Change-Id: Ifa615888b6d8d54c9e6314fd90f3fc4872fc6e5a
Story: 2007516
Task: 39299
2020-04-03 17:17:24 +02:00

9 lines
336 B
YAML

---
fixes:
- |
Fixes an issue where ``OS_CACERT`` variable in ``openrc`` files would be
set to the path of a non-existent file. New ``openrc`` files can be
generated with the ``kayobe control host bootstrap`` command. `See story
2007516 <https://storyboard.openstack.org/#!/story/2007516>`_ for more
details.