The Adaptive QoS feature was introduced on ONTAP 9.3 [0], and its support for FlexVols were added on ONTAP 9.4.
The current driver does not validate ONTAP version when assigning an Adaptive QoS policy group to a LUN or a FlexVol, and it only raises an error when the ZAPI call is issued.
The error message is not very helpful for investigating the issue.
Expected result:
If an Adaptive QoS operation is requested on a non-supported ONTAP version, raise a helpful exception such as "NetAppException: Adaptive QoS not supported on this back end ONTAP version.".
Actual results:
The API request fails with the following error message:
cinder.volume.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 13115:Extra input: qos-adaptive-policy-group
The Adaptive QoS feature was introduced on ONTAP 9.3 [0], and its support for FlexVols were added on ONTAP 9.4.
The current driver does not validate ONTAP version when assigning an Adaptive QoS policy group to a LUN or a FlexVol, and it only raises an error when the ZAPI call is issued.
The error message is not very helpful for investigating the issue.
Expected result:
If an Adaptive QoS operation is requested on a non-supported ONTAP version, raise a helpful exception such as "NetAppException: Adaptive QoS not supported on this back end ONTAP version.".
Actual results:
The API request fails with the following error message:
cinder. volume. drivers. netapp. dataontap. client. api.NaApiError: NetApp API failed. Reason - 13115:Extra input: qos-adaptive- policy- group
[0] https:/ /docs.netapp. com/ontap- 9/index. jsp?topic= %2Fcom. netapp. doc.pow- perf-mon% 2FGUID- 77DF9BAF- 4ED7-43F6- AECE-95DFB0680D 2F.html