tempest/tempest/api/compute/volumes
Lee Yarwood 8581ea2cdc compute: Skip AttachVolumeShelveTestJSON when cross_az_attach unavailable
Both tests within this class create an instance and volume within the
same availability zone before shelving the instance. By default this
fully offloads the instance removing it from the availability zone.

If [cinder]/cross_az_attach is set to False within nova.conf this then
results in failures to attach volumes to the instance as they no longer
share the same availability zone.

To avoid this we now skip AttachVolumeShelveTestJSON based on the value
of [compute-feature-enabled]/compute_volume_common_az in tempest.conf
introduced by 979e494da2. This should be set if
cinder]/cross_az_attach is False within nova.conf ensuring that the resources
will be created in the same AZ.

Closes-Bug: #1889687
Change-Id: Ic51f6c7671bae2b241ada6d0c75fd9ea410eb73b
2020-12-01 22:13:16 +00:00
..
__init__.py rename tests -> api 2013-05-20 17:20:54 -04:00
test_attach_volume.py compute: Skip AttachVolumeShelveTestJSON when cross_az_attach unavailable 2020-12-01 22:13:16 +00:00
test_attach_volume_negative.py Adding description for testcases - compute part12 2020-08-13 16:46:50 +08:00
test_volume_snapshots.py Adding description for testcases - compute part8 2020-08-12 15:36:31 +08:00
test_volumes_get.py Adding description for testcases - compute part8 2020-08-12 15:36:31 +08:00
test_volumes_list.py Adding description for testcases - compute part8 2020-08-12 15:36:31 +08:00
test_volumes_negative.py Adding description for testcases - compute part8 2020-08-12 15:36:31 +08:00