Deprecate `volume_image_dep_tests`
We alignment with tempest configuration settings
'enable_volume_image_dep_tests'
To keep requirements.txt lower bound up to dated, this bumping
the Tempest version to 40.0.0 which include the image dependency
configuration
- https://review.opendev.org/c/openstack/tempest/+/914198
Change-Id: I6f219122bfe1ba1d3851a5954cb9ffc6e04ad69c
diff --git a/cinder_tempest_plugin/config.py b/cinder_tempest_plugin/config.py
index 53222b8..3d5eb0e 100644
--- a/cinder_tempest_plugin/config.py
+++ b/cinder_tempest_plugin/config.py
@@ -24,7 +24,13 @@
help='Enable to run Cinder volume revert tests'),
cfg.BoolOpt('volume_image_dep_tests',
default=True,
- help='Run tests for dependencies between images and volumes')
+ help='Run tests for dependencies between images and volumes',
+ deprecated_for_removal=True,
+ deprecated_reason='Dependency test config setting '
+ '`volume_image_dep_tests` '
+ 'in cinder-tempest-plugin is deprecated.Alternatively '
+ '`CONF.volume_feature_enabled.enable_volume_image_dep_tests` '
+ 'can be used for dependency tests.')
]
# The barbican service is discovered by config_tempest [1], and will appear