Add the nova-multiattach job

This change adds a new voting check/gate queue job for running
volume multiattach compute API tests.

This configures devstack to enable tempest for volume multiattach
support and disables the Pike UCA since we need qemu<2.10 for
libvirt to work with multiattach volumes.

Depends on the following devstack patch to add the
ENABLE_VOLUME_MULTIATTACH variable. The devstack patch
depends on the tempest patch that adds the volume multiattach
tests and the tempest patch depends on the series of nova
changes that add volume multiattach support.

Depends-On: I46b7eabf6a28f230666f6933a087f73cb4408348

Depends on the following nova patch to fix a bug when
creating a server snapshot of a paused instance when not
using the Pike UCA:

Depends-On: If6c4dd6890ad6e2d00b186c6a9aa85f507b354e0

Depends on the tip of the series of Tempest tests which include
additional tests for resize with a multiattach volume and swap
volume with a multiattach volume.

Depends-On: I751e9e4237e2997e102dd13c4f060deaea73d543

Part of blueprint multi-attach-volume

Change-Id: I51adbbdf13711e463b4d25c2ffd4a3123cd65675
This commit is contained in:
Matt Riedemann 2018-01-10 18:22:00 -05:00 committed by ghanshyam
parent b5a206e5c7
commit 97281fed86

View File

@ -1,12 +1,11 @@
# See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3
# for job naming conventions.
- job:
name: nova-lvm
name: nova-base
parent: legacy-dsvm-base
description: |
Run standard integration tests using LVM image backend. This is useful if
there are tests touching this code.
The base job definition for nova jobs. Contains common configuration.
timeout: 10800
run: playbooks/legacy/nova-lvm/run.yaml
post-run: playbooks/legacy/nova-lvm/post.yaml
required-projects:
- openstack-infra/devstack-gate
- openstack/nova
@ -60,16 +59,43 @@
vars:
tox_envlist: functional-py35
- job:
name: nova-lvm
parent: nova-base
description: |
Run standard integration tests using LVM image backend. This is useful if
there are tests touching this code.
run: playbooks/legacy/nova-lvm/run.yaml
post-run: playbooks/legacy/nova-lvm/post.yaml
- job:
name: nova-multiattach
parent: nova-base
description: |
Run tempest integration tests with volume multiattach support enabled.
This job will only work starting with Queens.
It uses the default Cinder volume type in devstack (lvm) and the
default compute driver in devstack (libvirt). It also disables the
Pike Ubuntu Cloud Archive because volume multiattach support with
the libvirt driver only works with qemu<2.10 or libvirt>=3.10 which
won't work with the Pike UCA.
branches: ^(?!stable/(newton|ocata|pike)).*$
run: playbooks/legacy/nova-multiattach/run.yaml
post-run: playbooks/legacy/nova-multiattach/post.yaml
- project:
name: openstack/nova
experimental:
jobs:
- nova-lvm
check:
jobs:
- nova-multiattach
- nova-tox-functional
- nova-tox-functional-py35
gate:
jobs:
- nova-multiattach
- nova-tox-functional
- nova-tox-functional-py35
experimental:
jobs:
# Please try to keep this list of job names sorted alphabetically.
- nova-lvm