From f53ecbbd19a1a53a5e94bcda599834ee73968341 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Tue, 29 Jan 2019 18:01:26 +0530 Subject: [PATCH] Disable nova-lxd tempest plugin The nova-lxd plugin tries to use the pylxd module to connect to the LXD instance on the compute node. This will fail when tempest is run in a container or with a multi node deployment. Change-Id: I588d3eb430112beda6398c218b20a851d9288a4c --- defaults/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 682e06a9..9e7688f3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -185,7 +185,13 @@ tempest_service_available_neutron_bgpvpn: "{{ (groups['neutron_all'] is defined) tempest_service_available_neutron_fwaas: "{{ (groups['neutron_all'] is defined) and (groups['neutron_all'] | length > 0) and (('firewall' in neutron_plugin_base | default([])) or ('firewall_v2' in neutron_plugin_base | default([]))) }}" tempest_service_available_neutron_vpnaas: "{{ (groups['neutron_all'] is defined) and (groups['neutron_all'] | length > 0) and ('vpnaas' in neutron_plugin_base | default([])) }}" tempest_service_available_nova: "{{ groups['nova_all'] is defined and groups['nova_all'] | length > 0 }}" -tempest_service_available_nova_lxd: "{{ groups['nova_all'] is defined and groups['nova_all'] | length > 0 and nova_virt_type | default('kvm') == 'lxd' }}" + +# NOTE(jrosser) The lxd tempest test currently fails because the nova-lxd tempest +# plugin attempts to contact the compute node LXD daemon unix socket directly, +# which cannot work from container to host or in a multinode test +#tempest_service_available_nova_lxd: "{{ groups['nova_all'] is defined and groups['nova_all'] | length > 0 and nova_virt_type | default('kvm') == 'lxd' }}" +tempest_service_available_nova_lxd: False + tempest_service_available_octavia: "{{ groups['octavia_all'] is defined and groups['octavia_all'] | length > 0 }}" tempest_service_available_sahara: "{{ groups['sahara_all'] is defined and groups['sahara_all'] | length > 0 }}" tempest_service_available_swift: "{{ (groups['swift_all'] is defined and groups['swift_all'] | length > 0) or (groups['ceph-rgw'] is defined and groups['ceph-rgw'] | length > 0) or (ceph_rgws | length > 0) }}"