Bug 1951485 - Cinder with NetApp ONTAP: QoS policy group is deleted after migration
Summary: Cinder with NetApp ONTAP: QoS policy group is deleted after migration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z9
: 16.1 (Train on RHEL 8.2)
Assignee: Gorka Eguileor
QA Contact: Evelina Shames
Andy Stillman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-20 09:02 UTC by Cyril Lopez
Modified: 2023-09-18 00:25 UTC (History)
6 users (show)

Fixed In Version: openstack-cinder-15.4.0-1.20220624093337.58f0e73.el8ost
Doc Type: Bug Fix
Doc Text:
Before this update, NetApp ONTAP Block Storage (cinder) driver QoS policy groups were deleted when the associated volume was moved. With this update, QoS policy groups are associated permanently to the LUN or file that represents the volume.
Clone Of:
Environment:
Last Closed: 2022-12-07 20:24:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1906291 0 None None None 2021-04-20 09:02:26 UTC
OpenStack gerrit 800231 0 None MERGED NetApp ONTAP: Fix QoS lost after moving volume 2022-03-17 23:13:48 UTC
Red Hat Issue Tracker OSP-3188 0 None None None 2022-02-01 11:02:41 UTC
Red Hat Product Errata RHBA-2022:8795 0 None None None 2022-12-07 20:25:09 UTC

Description Cyril Lopez 2021-04-20 09:02:26 UTC
NetApp ONTAP Cinder driver has support for setting QoS.
When a Cinder volume is created with a volume-type associated to a QoS entity, the driver creates a QoS policy group at the ONTAP back end, and associates it to the entity representing the Cinder volume (either a LUN or a file within an NFS share).
When a migrate operation is issued, the QoS policy group is deleted.

Steps to reproduce:
- Set up 2 ONTAP back ends `ontap1` and `ontap2`
- Create a Cinder QoS `qos_test`
- Create a Cinder volume type `ontap`
- Associate the QoS `qos_test` to the volume type `ontap`
- Create a Cinder volume with the volume type `ontap`
- Migrate the volume to another ONTAP back end
- Wait for the driver to perform a host-assited migration
- Wait for the driver to create a new QoS policy group and associate it to the new LUN/file representing the volume

Expected result:
- Have the new QoS policy group associated to the LUN/file permanently.

Actual result:
- The new QoS policy group is deleted afer a few minutes.

Detailed commands and outputs are here [0].

[0] http://paste.openstack.org/show/800563/

Comment 12 errata-xmlrpc 2022-12-07 20:24:45 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 (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), 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/RHBA-2022:8795

Comment 13 Red Hat Bugzilla 2023-09-18 00:25:52 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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