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 948fc6bcbf)
This commit is contained in:
Lee Yarwood 2020-01-10 15:35:03 +00:00
parent 370c8f0c7b
commit 4feedd4f0a
1 changed files with 1 additions and 0 deletions

View File

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