Bug 2184844 - [16.2] Backport tempest patch for upstream-approved Block Storage API backward-incompatible change
Summary: [16.2] Backport tempest patch for upstream-approved Block Storage API backwar...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Rajat Dhasmana
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On: 2184840
Blocks: 2175217
TreeView+ depends on / blocked
 
Reported: 2023-04-05 22:41 UTC by Brian Rosmaita
Modified: 2023-07-31 08:27 UTC (History)
6 users (show)

Fixed In Version: openstack-tempest-26.1.0-2.20230410154917.271f820.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of: 2184840
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 875372 0 None MERGED Update multiattach tests 2023-04-05 22:44:34 UTC
Red Hat Bugzilla 2175217 0 medium MODIFIED [16.2] Multiattach volumes should be created by volume type only 2023-07-31 21:31:29 UTC
Red Hat Issue Tracker OSP-24014 0 None None None 2023-04-05 22:42:05 UTC

Description Brian Rosmaita 2023-04-05 22:41:06 UTC
+++ This bug was initially created as a clone of Bug #2184840 +++

Description of problem:

In Queens, the ability to create a multiattach volume by including a request parameter in the volume-create request was deprecated in favor of using a multiattach volume-type.  The former operation is dangerous and can lead to data loss.  Since Rocky, the cinderclient and openstackclient have not allowed a multiattach request parameter, but unfortunately it was not removed from the API until the Antelope release.  Because there were existing tempest tests around the deprecated feature, these had to be revised, and the changes were accepted by the upstream QA team because this is a data loss issue.

A customer noticed the upstream cinder change and requested that it be backported to RHOSP 16.2; since the backport will break existing tempest tests in 17 and 16, the tempest patch needs to be backported too.

Additional info:

A complication is that volume-type creation is an admin-only operation, whereas requesting the creation of a multiattach volume (i.e., a volume of a multiattach volume-type) can be done with non-admin credentials.  The upstream QA team wanted to leave the multiattach tests in the non-admin realm, so the appropriate volume-type is created upstream in devstack.  We'll have to create it in infrared.

Comment 1 Martin Kopec 2023-05-04 05:46:53 UTC
Moving 2175217 BZ from being dependent on to blocked by this - 2175217 stops supporting the "old way", therefore this tempest change has to be backported first (as it stops using the "old way")

Comment 4 Martin Kopec 2023-07-31 08:27:36 UTC
The fix is part of the Fixed in version package which has just made it through phase 2.


Note You need to log in before you can comment on or make changes to this bug.