From b29298ed2abf53b1ef540c71cb03ce3ea5b95faa Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Fri, 21 Jan 2022 17:42:07 +0000 Subject: [PATCH] CI: enable libvirt TLS in TLS jobs Enable libvirt TLS in CI jobs with TLS enabled. Uses the new functionality of the certificates command to generate certificates for both libvirt client and server (added in I1bde9fa018f66037aec82dc74c61ad1f477a7c12). Change-Id: Ica304685b043f699799ccee6c9c2fbcf968888db --- tests/templates/globals-default.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 5619b7817f..06fc06c22f 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -146,6 +146,8 @@ openstack_cacert: "/etc/pki/tls/certs/ca-bundle.crt" {% endif %} kolla_admin_openrc_cacert: "{% raw %}{{ kolla_certificates_dir }}{% endraw %}/ca/root.crt" rabbitmq_enable_tls: "yes" +# TODO(mgoddard): Set this to "yes" when previous release is Yoga. +libvirt_tls: "{{ not is_upgrade or previous_release != 'xena' }}" {% endif %} {% if scenario == 'linuxbridge' %}