Skip to main content
NetApp Knowledge Base

Quota report using REST API shows no data or incomplete data

Views:
157
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

  • ONTAP 9
  • REST API
  • ONTAP System Manager

Issue

  • Swagger REST API returns no data or incomplete data for an SVM that does in fact have quotas set:

https://<cluster_management_LIF>/docs/api/#/storage/quota_report_collection_get

 
REST_API_Failure.jpg
 
  • System Manager REST API response displays incomplete quota report:

https://Cluster-mgmt-lif/api/storage/quota/reports return_timeout=120&fields=type%2Cvolume%2Csvm%2Cqtree%2Cusers%2Cgroup%2Cspace%2Cfiles&show_default_records=false&return_unmatched_nested_array_objects=true&max_records=20

{
  "records": [
    {
      ...
  "num_records": 1,
 ...
  }
}

  • Reports generated using the ONTAP CLI ::> quota report or ZAPI calls returns values as expected.
  • Disable quota then re-enable it doesn't help.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.