Bug 2121690

Summary: [OSP 18] Refactor the NetApp Manila driver to use REST API client
Product: Red Hat OpenStack Reporter: Gregory Charot <gcharot>
Component: openstack-manilaAssignee: Goutham Pacha Ravi <gouthamr>
Status: CLOSED MIGRATED QA Contact: vhariria
Severity: high Docs Contact: Erin Peterson <erpeters>
Priority: high    
Version: 18.0 (Zed)CC: ashrodri, cardasil, erpeters, gcharot, gfidente, gouthamr, lkuchlan, vhariria
Target Milestone: betaKeywords: FutureFeature, OtherQA, Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 2121554 Environment:
Last Closed: 2023-11-13 15:15:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2121554    

Description Gregory Charot 2022-08-26 09:20:46 UTC
+++ This bug was initially created as a clone of Bug #2121554 +++

Description of problem:

NetApp ONTAP storage systems are integrated into OpenStack Manila 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 manila 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 

Affects future OSP 18, and OSP 16.2 as well.


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 1 Gregory Charot 2022-08-26 09:24:14 UTC
This BZ tracks the OSP18 Netapp driver REST API support. Current plan is to backport it to upstream Zed. If so then there is no need to backport it downstream otherwise we will have to do the backport to get support in OSP18.