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 67917bf650)
(cherry picked from commit 6a37431ced)
(cherry picked from commit 1484c45607)
(cherry picked from commit e26e6a1fb4)
This commit is contained in:
Rajesh Tailor 2021-01-18 10:58:27 +05:30 committed by Alex Schultz
parent 1f0c8e4b4f
commit e852186ee1
1 changed files with 1 additions and 1 deletions

View File

@ -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