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
This commit is contained in:
Chandan Kumar 2019-01-29 18:01:26 +05:30
parent 84cf23f664
commit f53ecbbd19
1 changed files with 7 additions and 1 deletions

View File

@ -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) }}"