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
(cherry picked from commit 83e6f9a6c5)
This commit is contained in:
Martin Schuppert 2020-12-01 14:46:58 +01:00 committed by Alex Schultz
parent 6f7d495ab7
commit b0a068c38f
1 changed files with 3 additions and 7 deletions

View File

@ -869,6 +869,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
@ -877,13 +880,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