From 8607e3b85cb5cb4a12445f348c901179aeb75774 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 24 Sep 2020 10:30:49 +0100 Subject: [PATCH] Add support for senlin tempest plugin There do not appear to be RDO packages for python(3)-senlin-tests-tempest so we only add support for source based deployments. Change-Id: Ie6e8f1dcc3bb8460edd0fb22edc3d7ef14290574 --- defaults/main.yml | 2 ++ vars/main.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 128e4f4d..3d0a0475 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -192,6 +192,7 @@ 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_senlin: "{{ groups['senlin_all'] is defined and groups['senlin_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 is defined and ceph_rgws | length > 0) }}" tempest_service_available_zaqar: "{{ groups['zaqar_all'] is defined and groups['zaqar_all'] | length > 0 }}" tempest_service_available_zun: "{{ groups['zun_all'] is defined and groups['zun_all'] | length > 0 }}" @@ -235,6 +236,7 @@ tempest_pip_packages: - python-neutronclient - python-novaclient - python-openstackclient + - python-senlinclient - python-saharaclient - python-subunit - python-swiftclient diff --git a/vars/main.yml b/vars/main.yml index 74bef48b..3c3552d5 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -136,6 +136,11 @@ _tempest_plugins: repo: https://opendev.org/openstack/octavia-tempest-plugin branch: master install: "{{ tempest_service_available_octavia | bool }}" + senlin: + - name: senlin-tempest-plugin + repo: https://opendev.org/openstack/senlin-tempest-plugin + branch: master + install: "{{ tempest_service_available_senlin | bool }}" sahara: - name: sahara-tests repo: https://opendev.org/openstack/sahara-tests