Skip to content

Commit cd9ec7b

Browse files
committed
Update .automation submodule for Tempest CA cert support
1 parent 88f83b9 commit cd9ec7b

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

doc/source/configuration/vault.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ Enable the required TLS variables in kayobe and kolla
220220
# Whether TLS is enabled for the external API endpoints. Default is 'no'.
221221
kolla_enable_tls_external: yes
222222
223+
See :ref:`tempest-cacert` for information on adding CA certificates to the trust store when running Tempest.
224+
223225
2. Set the following in kayobe-config/etc/kayobe/kolla.yml or if environments are being used etc/kayobe/environments/$KAYOBE_ENVIRONMENT/kolla.yml
224226

225227
.. code-block::

doc/source/operations/tempest.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,25 @@ ever contain one host. The seed is usually used as the tempest runner however
251251
it is also common to use the Ansible control host or an infrastructure VM. The
252252
main requirement of the host is that it can reach the OpenStack API.
253253

254+
.. _tempest-cacert:
255+
256+
Tempest CA certificate
257+
----------------------
258+
259+
If your public OpenStack API uses TLS with a Certificate Authority (CA) that is
260+
not trusted by the Python CA trust store, it may be necessary to add a CA
261+
certificate to the trust store in the container that runs Tempest. This can be
262+
done by defining a ``tempest_cacert`` Ansible variable to a path containing the
263+
CA certificate. You may wish to use ``kayobe_config_path`` or
264+
``kayobe_env_config_path`` to be agnostic to the path where kayobe-config is
265+
mounted within the container. For example:
266+
267+
.. code-block:: yaml
268+
:caption: ``etc/kayobe/tempest.yml``
269+
270+
# Add the Vault CA certificate to the rally container when running tempest.
271+
tempest_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/vault.crt"
272+
254273
Running Tempest
255274
===============
256275

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
Supports adding CA certificates to the Tempest container trust store.

0 commit comments

Comments
 (0)