Bug 2184840 - [17.1] Backport tempest patch for upstream-approved Block Storage API backward-incompatible change
Summary: [17.1] Backport tempest patch for upstream-approved Block Storage API backwar...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 17.1
Assignee: Rajat Dhasmana
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks: 2184834 2184844
TreeView+ depends on / blocked
 
Reported: 2023-04-05 22:20 UTC by Brian Rosmaita
Modified: 2023-08-16 01:15 UTC (History)
4 users (show)

Fixed In Version: openstack-tempest-33.0.0-1.20230406160852.1580f6f.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2184844 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:14:35 UTC
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:20:54 UTC
Red Hat Bugzilla 2175217 0 medium CLOSED [16.2] Multiattach volumes should be created by volume type only 2023-11-08 19:24:01 UTC
Red Hat Issue Tracker OSP-24013 0 None None None 2023-04-05 22:22:05 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:15:04 UTC

Description Brian Rosmaita 2023-04-05 22:20:54 UTC
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 4 Martin Kopec 2023-05-04 05:36:59 UTC
Moving 2184834 BZ from being dependent on to blocked by this - 2184834 stops supporting the "old way", therefore this tempest change has to be backported first (as it stops using the "old way")

Comment 5 Martin Kopec 2023-05-04 05:45:25 UTC
The Fixed in version package doesn't contain any "old way" use -> no multiattach=True arguments. Moving to VERIFIED.

Comment 13 errata-xmlrpc 2023-08-16 01:14:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577


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