Add testing for optimized volume upload

When using cinder as glance backend, we have an optimization for
upload volume to image operation.
It was recently found that the glance location API was broken for
the upload volume optimization. The current glance cinder job
doesn't run the upload volume test hence the issue was not detected.

This patch adds the volume action tests (that includes the upload
volume test) in the glance cinder job. It also requires configuring
some parameters that are set up in devstack in the depends-on patch.

Depends-On: https://review.opendev.org/c/openstack/cinder/+/909513

Signed-off-by: Rajat Dhasmana <rajatdhasmana@gmail.com>
Change-Id: I4918027ed641a90aafe44d815a4a3dbc1dc7ddfc
This commit is contained in:
Rajat Dhasmana
2024-02-22 14:38:30 +05:30
parent f54c9a23cd
commit 787ca3db09

View File

@@ -361,6 +361,10 @@
GLANCE_SHOW_DIRECT_URL: True
GLANCE_SHOW_MULTIPLE_LOCATIONS: True
CINDER_ALLOWED_DIRECT_URL_SCHEMES: cinder
CINDER_UPLOAD_OPTIMIZED: True
CINDER_UPLOAD_INTERNAL_TENANT: True
CINDER_USE_SERVICE_TOKEN: True
tempest_test_regex: '(cinder_tempest_plugin|tempest.api.volume.test_volumes_actions)'
- job:
name: cinder-multibackend-matrix-migration