Browse Source

Merge "Remove deprecated volume API config options"

changes/35/770635/1 3.1.0
Zuul 4 months ago
committed by Gerrit Code Review
parent
commit
4f4774d4e4
2 changed files with 19 additions and 3 deletions
  1. +0
    -3
      config_tempest/services/volume.py
  2. +19
    -0
      releasenotes/notes/remove-deprecated-volume-config-options-a7b30be51c77ac7b.yaml

+ 0
- 3
config_tempest/services/volume.py View File

@ -63,9 +63,6 @@ class VolumeService(VersionedService):
def get_service_extension_key(self):
return 'api_extensions'
def get_supported_versions(self):
return ['v2', 'v3']
@staticmethod
def get_codename():
return 'cinder'


+ 19
- 0
releasenotes/notes/remove-deprecated-volume-config-options-a7b30be51c77ac7b.yaml View File

@ -0,0 +1,19 @@
---
upgrade:
- |
Starting by Rocky the following options are deprecated by Tempest
* ``CONF.volume-feature-enabled.api_v2``
* ``CONF.volume-feature-enabled.api_v3``
and have no effect on triggering volume v2/v3 API tests.
``CONF.volume.catalog_type`` is used for that instead.
The options are deleted from Tempest by
https://review.opendev.org/c/openstack/tempest/+/698754
Tempest sets ``CONF.volume.catalog_type`` to 'volumev3' by default so no
action in python-tempestconf is needed considering the current API is v3.
In case a user wants to run tempest tests against volume v2 API, it's
needed to set catalog_type to 'volumev2' e.g. via overrides using
python-tempestconf's CLI or manually in the generated tempest.conf file.

Loading…
Cancel
Save