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
This commit is contained in:
parent
6472798222
commit
67917bf650
|
@ -1004,7 +1004,7 @@ outputs:
|
||||||
map_merge:
|
map_merge:
|
||||||
- {get_attr: [RoleParametersValue, value, nova_compute_opt_env_vars]}
|
- {get_attr: [RoleParametersValue, value, nova_compute_opt_env_vars]}
|
||||||
- KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
|
||||||
- LIBGUESTFS_BACKEND: libvirt:qemu:///system
|
- LIBGUESTFS_BACKEND: direct
|
||||||
- if:
|
- if:
|
||||||
- is_not_additional_cell
|
- is_not_additional_cell
|
||||||
- nova_wait_for_compute_service:
|
- nova_wait_for_compute_service:
|
||||||
|
|
Loading…
Reference in New Issue