From e852186ee1eb4f02586b253396cc15aebadf8b61 Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Mon, 18 Jan 2021 10:58:27 +0530 Subject: [PATCH] nova: Use LIBGUESTFS_BACKEND=direct After change [1] nova-compute launch libguestfs using the default ``qemu:///system``, but when ``inject_password` is set to true and user tries to create vm, the vm creation is successful and we could see libguestfs error in nova-compute logs. This change forces libvirt to use ``direct`` when launching instances on host. [1] Ib55936ea562dfa965be0764647e2b8e3fa309fd6 Change-Id: I195358742c19d6ea0a3d32979896c0268e3b55a6 Closes-bug: #1912141 (cherry picked from commit 67917bf65076ce8a0aeb568e48d28dd1bd1f2995) (cherry picked from commit 6a37431cedc7efc79e214f66cd3c845bde8bd58e) (cherry picked from commit 1484c4560740d68d79008bbc211811e13e5b52b6) (cherry picked from commit e26e6a1fb472ba8bf5a27d30290f011f05a70d2b) --- docker/services/nova-compute.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/services/nova-compute.yaml b/docker/services/nova-compute.yaml index 1490e6465c..2552173337 100644 --- a/docker/services/nova-compute.yaml +++ b/docker/services/nova-compute.yaml @@ -270,7 +270,7 @@ outputs: - {get_param: NovaComputeOptEnvVars} - - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - - LIBGUESTFS_BACKEND=libvirt:qemu:///system + - LIBGUESTFS_BACKEND=direct - nova_wait_for_compute_service: start_order: 4 image: *nova_compute_image