From e1514cb010d2e0707e95d9af7cd02fe0a1aee7a7 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. Conflicts: deployment/nova/nova-compute-container-puppet.yaml NOTE(lyarwood): Conflict due to the move from docker/services to deployment in Stein. Change-Id: Ib55936ea562dfa965be0764647e2b8e3fa309fd6 (cherry picked from commit 948fc6bcbf9c7295c576b80553bf8b835675256b) (cherry picked from commit 4feedd4f0a8c7c4d15c38ea1b7273a63922a37c8) (cherry picked from commit 670d8049c852df93a889efbf04a653160856716b) --- docker/services/nova-compute.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/services/nova-compute.yaml b/docker/services/nova-compute.yaml index 9a5be9ebfe..1ead1f5798 100644 --- a/docker/services/nova-compute.yaml +++ b/docker/services/nova-compute.yaml @@ -263,6 +263,7 @@ outputs: - {get_param: NovaComputeOptEnvVars} - - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS + - LIBGUESTFS_BACKEND=libvirt:qemu:///system - nova_wait_for_compute_service: start_order: 4 image: *nova_compute_image