Bug 2123424 - Refactor the NetApp Cinder driver to use REST API client
Summary: Refactor the NetApp Cinder driver to use REST API client
Keywords:
Status: ON_DEV
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Cinder Bugs List
QA Contact: Evelina Shames
RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-01 16:07 UTC by Gregory Charot
Modified: 2023-10-23 11:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 836027 0 None MERGED NetApp ONTAP: Add REST Client for ONTAP 2022-09-20 15:36:33 UTC
OpenStack gerrit 852208 0 None MERGED NetApp ONTAP: Add core functions on REST client 2022-09-20 15:36:33 UTC
OpenStack gerrit 852209 0 None MERGED NetApp ONTAP: Add volume replication functions on REST client 2022-10-12 19:24:06 UTC
OpenStack gerrit 852210 0 None MERGED NetApp ONTAP: Add volume migration functions on REST client 2022-10-12 19:24:06 UTC
OpenStack gerrit 852211 0 None MERGED NetApp ONTAP: Add revert to snapshot functions on REST client 2022-10-12 19:24:06 UTC
Red Hat Issue Tracker OSP-18516 0 None None None 2022-09-01 16:20:27 UTC

Description Gregory Charot 2022-09-01 16:07:45 UTC
Description of problem:

NetApp ONTAP storage systems are integrated into OpenStack Cinder with the help of XML-based "ONTAPI"s called ZAPIs. In the 9.6 release of ONTAP, NetApp added a RESTful API that is meant to replace these ZAPIs. [1] Starting with ONTAP 9.7, new features and enhancements are available only through the ONTAP REST API for automation. ZAPIs are also deprecated and are slated for end-of-support and eventual removal from the product. Per [2], ZAPI will reach end of availability (EOA) in January 2023. (CPC-00410: EOA- ONTAPI [3]). ONTAP release in FY22-Q4 (expected to be ONTAP 9.12.1), will be the final ONTAP version to include ONTAPI. 

So, The NetApp cinder driver needs to add support to REST APIs in place of all the ZAPIs it is using. The upstream community is supportive of backporting this to Zed as long as it doesn't introduce any backwards incompatible change - i.e., ZAPIs must not be removed prematurely from code as deployers may continue to use older/supported versions of ONTAP storage with RHOSP. 


Version-Release number of selected component (if applicable):

17.1 & 18 (if not backported to upstream Zed)

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

[1] https://www.netapp.com/blog/restful-apis-now-natively-available-with-netapp-ontap-9-6-software/ 
[2] https://www.netapp.com/blog/transform-automation-ontap-rest-api/ 
[3] https://mysupport.netapp.com/info/communications/ECMLP2880232.html - Requires NetApp login

Comment 3 Brian Rosmaita 2022-10-12 19:24:07 UTC
Patches landed in Zed, so will be present for OSP 18.  Will have to be backported to downstream 17.1.

Comment 5 Gregory Charot 2023-03-16 12:36:19 UTC
Removing target milestone. Netapp plans have changed and this RFE is not required for 17.1GA anymore. They are extending the ZAPI support and we are dependent on them to do the backports.

Comment 7 Eric Nothen 2023-03-16 13:43:25 UTC
(In reply to Gregory Charot from comment #5)
> Removing target milestone. Netapp plans have changed and this RFE is not
> required for 17.1GA anymore. They are extending the ZAPI support and we are
> dependent on them to do the backports.

Gregory, do you have links at hand for any public facing communication from NetApp on this topic, or did this come internally from the partner manager? I'm asking so that I can share more information with the customer.

Thanks,
Eric

Comment 8 Gregory Charot 2023-03-16 14:04:28 UTC
I talked to their PM and there is also a communication available through their support portal. I'll share the doc with you

Comment 11 Gregory Charot 2023-04-19 13:32:38 UTC
Removing PM ack. At the moment netapp does not plan to support this feature in wallaby (17.x) and do any backport. We're planning to build an OSP/ONTAP versions compatibility matrix.

Comment 12 Paul Grist 2023-05-08 18:23:16 UTC
Based on the last comment, removing the 17.1+ flag


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