From 83e6f9a6c5c6559134cbaeadab1b998bdfef86ad Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Tue, 1 Dec 2020 14:46:58 +0100 Subject: [PATCH] Add qemu metadata to compute node when tls for live migration With I7f583d18e558b95922a66eb539cc91de74409c96 certificates are moved to use bind mounts and in case of UseTLSTransportForNbd to create the required certificates even if UseTLSTransportForNbd is set to False. In case of UseTLSTransportForNbd is False the compute node still need the qemu metadata to have permissions to request the certificates for the nbd tls use case. Change-Id: Ibba61afbeb3957a955aa6d75e8258279a60fd141 --- deployment/nova/nova-libvirt-container-puppet.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/deployment/nova/nova-libvirt-container-puppet.yaml b/deployment/nova/nova-libvirt-container-puppet.yaml index 92d4904771..0272d78db3 100644 --- a/deployment/nova/nova-libvirt-container-puppet.yaml +++ b/deployment/nova/nova-libvirt-container-puppet.yaml @@ -858,6 +858,9 @@ outputs: - service: libvirt network: {get_param: [ServiceNetMap, NovaLibvirtNetwork]} type: node + - service: qemu + network: {get_param: [ServiceNetMap, NovaLibvirtNetwork]} + type: node - null - if: - use_tls_for_vnc @@ -866,13 +869,6 @@ outputs: network: {get_param: [ServiceNetMap, NovaLibvirtNetwork]} type: node - null - - if: - - use_tls_for_nbd - - - - service: qemu - network: {get_param: [ServiceNetMap, NovaLibvirtNetwork]} - type: node - - null upgrade_tasks: - name: nova_libvirt_container_tmpfile_cleanup when: step|int == 1