From 4feedd4f0a8c7c4d15c38ea1b7273a63922a37c8 Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Fri, 10 Jan 2020 15:35:03 +0000 Subject: [PATCH] nova: Always provide LIBGUESTFS_BACKEND=libvirt:qemu:///system Previously nova-compute would launch libguestfs using the default ``qemu:///session`` backend that would attempt and fail to launch an instance of libvirtd locally within the container. This change forces libguestfs to use the same ``qemu://system`` as nova-compute itself uses when launching instances on the host. Change-Id: Ib55936ea562dfa965be0764647e2b8e3fa309fd6 (cherry picked from commit 948fc6bcbf9c7295c576b80553bf8b835675256b) --- deployment/nova/nova-compute-container-puppet.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/nova/nova-compute-container-puppet.yaml b/deployment/nova/nova-compute-container-puppet.yaml index 30de4d93e1..a02f4642b9 100644 --- a/deployment/nova/nova-compute-container-puppet.yaml +++ b/deployment/nova/nova-compute-container-puppet.yaml @@ -812,6 +812,7 @@ outputs: map_merge: - {get_param: NovaComputeOptEnvVars} - KOLLA_CONFIG_STRATEGY: COPY_ALWAYS + - LIBGUESTFS_BACKEND: libvirt:qemu:///system - if: - is_not_additional_cell - nova_wait_for_compute_service: