Merge "Enable volume multiattach tests in tempest-full/slow jobs"
This commit is contained in:
commit
30cfcf8478
|
@ -99,6 +99,7 @@
|
||||||
tox_envlist: full
|
tox_envlist: full
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
ENABLE_FILE_INJECTION: true
|
ENABLE_FILE_INJECTION: true
|
||||||
|
ENABLE_VOLUME_MULTIATTACH: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: tempest-full-oslo-master
|
name: tempest-full-oslo-master
|
||||||
|
@ -161,6 +162,7 @@
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
USE_PYTHON3: true
|
USE_PYTHON3: true
|
||||||
FORCE_CONFIG_DRIVE: true
|
FORCE_CONFIG_DRIVE: true
|
||||||
|
ENABLE_VOLUME_MULTIATTACH: true
|
||||||
devstack_services:
|
devstack_services:
|
||||||
s-account: false
|
s-account: false
|
||||||
s-container: false
|
s-container: false
|
||||||
|
@ -276,6 +278,7 @@
|
||||||
tox_envlist: slow-serial
|
tox_envlist: slow-serial
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
|
CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
|
||||||
|
ENABLE_VOLUME_MULTIATTACH: true
|
||||||
tempest_concurrency: 2
|
tempest_concurrency: 2
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
@ -490,7 +493,7 @@
|
||||||
- ^playbooks/
|
- ^playbooks/
|
||||||
- ^roles/
|
- ^roles/
|
||||||
- ^.zuul.yaml$
|
- ^.zuul.yaml$
|
||||||
- nova-multiattach:
|
- tempest-full-parallel:
|
||||||
# Define list of irrelevant files to use everywhere else
|
# Define list of irrelevant files to use everywhere else
|
||||||
irrelevant-files: &tempest-irrelevant-files
|
irrelevant-files: &tempest-irrelevant-files
|
||||||
- ^(test-|)requirements.txt$
|
- ^(test-|)requirements.txt$
|
||||||
|
@ -502,8 +505,6 @@
|
||||||
- ^tempest/hacking/.*$
|
- ^tempest/hacking/.*$
|
||||||
- ^tempest/tests/.*$
|
- ^tempest/tests/.*$
|
||||||
- ^tools/.*$
|
- ^tools/.*$
|
||||||
- tempest-full-parallel:
|
|
||||||
irrelevant-files: *tempest-irrelevant-files
|
|
||||||
- tempest-full-py3:
|
- tempest-full-py3:
|
||||||
irrelevant-files: *tempest-irrelevant-files
|
irrelevant-files: *tempest-irrelevant-files
|
||||||
- tempest-full-py3-ipv6:
|
- tempest-full-py3-ipv6:
|
||||||
|
@ -578,8 +579,6 @@
|
||||||
irrelevant-files: *tempest-irrelevant-files
|
irrelevant-files: *tempest-irrelevant-files
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- nova-multiattach:
|
|
||||||
irrelevant-files: *tempest-irrelevant-files
|
|
||||||
- tempest-slow-py3:
|
- tempest-slow-py3:
|
||||||
irrelevant-files: *tempest-irrelevant-files
|
irrelevant-files: *tempest-irrelevant-files
|
||||||
- neutron-grenade-multinode:
|
- neutron-grenade-multinode:
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``tempest-full``, ``tempest-full-py3`` and ``tempest-slow`` zuul v3
|
||||||
|
job configurations now set ``ENABLE_VOLUME_MULTIATTACH: true`` in the
|
||||||
|
``devstack_localrc`` variables section. If you have a plugin job
|
||||||
|
configuration that inherits from one of these jobs and the backend cinder
|
||||||
|
volume driver or nova compute driver do not support volume multiattach then
|
||||||
|
you should override and set this variable to
|
||||||
|
``ENABLE_VOLUME_MULTIATTACH: false`` in your job configuration.
|
|
@ -148,6 +148,13 @@ class TestMultiAttachVolumeSwap(TestVolumeSwapBase):
|
||||||
# so it's marked as such.
|
# so it's marked as such.
|
||||||
@decorators.attr(type='slow')
|
@decorators.attr(type='slow')
|
||||||
@decorators.idempotent_id('e8f8f9d1-d7b7-4cd2-8213-ab85ef697b6e')
|
@decorators.idempotent_id('e8f8f9d1-d7b7-4cd2-8213-ab85ef697b6e')
|
||||||
|
# For some reason this test intermittently fails on teardown when there are
|
||||||
|
# multiple compute nodes and the servers are split across the computes.
|
||||||
|
# For now, just skip this test if there are multiple computes.
|
||||||
|
# Alternatively we could put the servers in an affinity group if there are
|
||||||
|
# multiple computes but that would just side-step the underlying bug.
|
||||||
|
@decorators.skip_because(bug='1807723',
|
||||||
|
condition=CONF.compute.min_compute_nodes > 1)
|
||||||
@utils.services('volume')
|
@utils.services('volume')
|
||||||
def test_volume_swap_with_multiattach(self):
|
def test_volume_swap_with_multiattach(self):
|
||||||
# Create two volumes.
|
# Create two volumes.
|
||||||
|
|
Loading…
Reference in New Issue