Merge "Stop testing volume v2 APIs"

This commit is contained in:
Zuul 2021-05-26 21:30:37 +00:00 committed by Gerrit Code Review
commit 0c3392306b
3 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
Tempest service clients for volume v2 APIs (tempest.lib.services.volume.v2 module)
is deprecated and will be removed once Tempest stop supporting stable wallaby release
which is last release volume v2 APIs are present in cinder.

View File

@ -12,6 +12,8 @@
# License for the specific language governing permissions and limitations under
# the License.
import warnings
from tempest.lib.services.volume.v2.availability_zone_client \
import AvailabilityZoneClient
from tempest.lib.services.volume.v2.backups_client import BackupsClient
@ -44,3 +46,9 @@ __all__ = ['AvailabilityZoneClient', 'BackupsClient', 'EncryptionTypesClient',
'LimitsClient', 'CapabilitiesClient', 'SchedulerStatsClient',
'SnapshotManageClient', 'VolumeManageClient', 'TransfersClient',
'QuotaClassesClient']
warnings.warn(
"The tempest.lib.services.volume.v2 module (volume v2 APIs service "
"clients) is deprecated in favor of tempest.lib.services.volume.v3 "
"(volume v3 APIs service clients) and will be removed once Tempest stop "
"supporting stable wallaby.", DeprecationWarning)

View File

@ -408,8 +408,9 @@
- job:
name: tempest-cinder-v2-api
parent: devstack-tempest
branches:
- master
# NOTE(gmann): Cinder v2 APIs are available until
# stable/wallaby only.
override-checkout: stable/wallaby
description: |
This job runs the cinder API test against v2 endpoint.
vars: