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 948fc6bcbf)
(cherry picked from commit 4feedd4f0a)
(cherry picked from commit 670d8049c8)
This commit is contained in:
Lee Yarwood 2020-01-10 15:35:03 +00:00
parent fb0fd83d65
commit e1514cb010
1 changed files with 1 additions and 0 deletions

View File

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