Enable support for novajoin tempest plugin

For testing FreeIPA in OpenStack, novajoin is used for the same.
In order the same setup in different distribution, we need to
enable support of novajoin tempest plugin.

By setting tempest_service_available_novajoin to true will install
the novajoin tempest plugin.

Change-Id: Ieeb35ebed80a5ebccb4dd9204e89e26129498b83
Signed-off-by: Chandan Kumar <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar 2019-04-16 17:45:02 +05:30
parent 49f992bf57
commit 25e299d1f6
3 changed files with 7 additions and 1 deletions

View File

@ -184,7 +184,7 @@ 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_novajoin: False
# 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

View File

@ -93,6 +93,11 @@ _tempest_plugins:
repo: https://git.openstack.org/openstack/neutron-tempest-plugin
branch: master
install: "{{ tempest_service_available_neutron | bool }}"
novajoin:
- name: novajoin-tempest-plugin
repo: https://git.openstack.org/openstack/novajoin-tempest-plugin
branch: master
install: "{{ tempest_service_available_novajoin | bool }}"
nova-lxd:
- name: nova-lxd
repo: https://git.openstack.org/openstack/nova-lxd

View File

@ -42,6 +42,7 @@ tempest_plugin_distro_packages:
- "{{ (tempest_service_available_neutron | bool) | ternary('python-neutron-tests-tempest', '') }}"
- "{{ (tempest_service_available_neutron_fwaas | bool) | ternary('python-networking-fwaas-tests', '') }}"
- "{{ (tempest_service_available_neutron_vpnaas | bool) | ternary('python-networking-vpnaas-tests', '') }}"
- "{{ (tempest_service_available_novajoin | bool) | ternary('python-novajoin-tests-tempest', '') }}"
- "{{ (tempest_service_available_octavia | bool) | ternary('python-octavia-tests-tempest', '') }}"
- "{{ (tempest_service_available_sahara | bool) | ternary('python-sahara-tests-tempest', '') }}"
- "{{ (tempest_service_available_zaqar | bool) | ternary('python-zaqar-tests-tempest', '') }}"