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 commit948fc6bcbf
) (cherry picked from commit4feedd4f0a
) (cherry picked from commit670d8049c8
) (cherry picked from commite1514cb010
)
This commit is contained in:
parent
af178417ba
commit
52033e484f
|
@ -256,6 +256,7 @@ outputs:
|
||||||
- {get_param: NovaComputeOptEnvVars}
|
- {get_param: NovaComputeOptEnvVars}
|
||||||
-
|
-
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
- LIBGUESTFS_BACKEND=libvirt:qemu:///system
|
||||||
- nova_wait_for_compute_service:
|
- nova_wait_for_compute_service:
|
||||||
start_order: 4
|
start_order: 4
|
||||||
image: *nova_compute_image
|
image: *nova_compute_image
|
||||||
|
|
Loading…
Reference in New Issue