zuul: Drop distro jobs for Xenial and switch to smoke tests

There will be no Rocky packages for Xenial so there is little point
in testing Xenial against current and upcoming releases. As such,
lets switch to Bionic. This also makes the functional jobs in Bionic
voting again.

In addition, this change switches to use smoke tests only because
there is no upstream coverage to use the cinder_tempest_plugin which
seems to have some broken jobs.

It seems that we're currently configuring the LVM config after
the service is setup which can cause it to go up with missing
LVM configuration.

This moves the tasks up so that the underlying storage is prepared
before the service is installed and deployed.

This is a squashed commit that covers a few topics because dropping
the Xenial jobs fails because the cinder_tempest_plugin tests
are failing.  Also, the LVM config running later seems to cause
the process to spin, possibly causing some troubles for RabbitMQ
connectivity.

Depends-On: https://review.openstack.org/#/c/591966/
Depends-On: https://review.openstack.org/#/c/591968/
Change-Id: I592691358f8dc587182052f9a079886dfc442744
This commit is contained in:
Markos Chandras 2018-08-15 11:33:43 +03:00 committed by Mohammed Naser
parent 0c01063de9
commit 7a809e22a3
3 changed files with 10 additions and 26 deletions

View File

@ -40,6 +40,13 @@
tags:
- always
- include: cinder_lvm_config.yml
when:
- "cinder_services['cinder-volume']['group'] in group_names"
- "cinder_backend_lvm_inuse | bool"
tags:
- cinder-config
- include: cinder_pre_install.yml
tags:
- cinder-install
@ -130,10 +137,3 @@
- "inventory_hostname == ((groups[cinder_services['cinder-api']['group']] | intersect(ansible_play_hosts)) | list)[-1]"
tags:
- cinder-config
- include: cinder_lvm_config.yml
when:
- "cinder_services['cinder-volume']['group'] in group_names"
- "cinder_backend_lvm_inuse | bool"
tags:
- cinder-config

View File

@ -14,15 +14,5 @@
# limitations under the License.
tempest_run: yes
# Cinder repo is needed because it's imported from cinder-tempest-plugin
tempest_plugins:
- name: cinder
repo: https://git.openstack.org/openstack/cinder
branch: master
- name: cinder-plugins
repo: https://git.openstack.org/openstack/cinder-tempest-plugin
branch: master
tempest_test_whitelist:
- cinder_tempest_plugin.api.volume.*
- smoke

View File

@ -19,18 +19,12 @@
jobs:
- openstack-ansible-upgrade-ubuntu-xenial
- openstack-ansible-cinder-ssl-nv
# TODO(jrosser) Revert this once bionic passes
- openstack-ansible-functional-ubuntu-bionic:
voting: false
- openstack-ansible-functional-distro_install-ubuntu-xenial
- openstack-ansible-functional-distro_install-centos-7
- openstack-ansible-functional-distro_install-opensuse-423
- openstack-ansible-functional-distro_install-ubuntu-bionic
gate:
jobs:
- openstack-ansible-upgrade-ubuntu-xenial
# TODO(jrosser) Revert this once bionic passes
- openstack-ansible-functional-ubuntu-bionic:
voting: false
- openstack-ansible-functional-distro_install-ubuntu-xenial
- openstack-ansible-functional-distro_install-centos-7
- openstack-ansible-functional-distro_install-opensuse-423
- openstack-ansible-functional-distro_install-ubuntu-bionic