跳转到主内容

未设置 "policy" 时, ZAPI 调用 "quota-list-entries-iter" 失败

Views:
1
Visibility:
Internal
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9.7 及以上
  • ZAPI
  • 配额

问题描述

未 quota-list-entries-iterpolicy设置配额时, ZAPI 调用失败:

DEBUG:netapp_lib.api.zapi.zapi:Request: <netapp xmlns="http://www.netapp.com/filer/admin" version="1.110" vfiler="SVM1">
 <quota-list-entries-iter>
  <query>
   <quota-entry>
    <volume>vol1</volume>
    <vserver>SVM1</vserver>
    <quota-target>/vol/vol1/data</quota-target>
    <quota-type>tree</quota-type>
   </quota-entry>
  </query>
 </quota-list-entries-iter>
</netapp>

DEBUG:netapp_lib.api.zapi.zapi:Response: <results xmlns="http://www.netapp.com/filer/admin" reason="success" status="failed" errno="13001"/>
 

在MGWD 日志中:

Thu Aug 05 2021 11:23:42 +02:00 [kern_mgwd:info:2045] Error: Loop detected in next() for table quota_rules_zapi. Next on "vol1 219043332097 3221226041 user * qtree1" returned "SVM1 219043332097 3221226041 tree /vol/vol1/tree1".
Thu Aug 05 2021 11:23:42 +02:00 [kern_mgwd:info:2045] ZSM: parse error=Document is empty  {na_zapi_get_elem_from_raw_xml:1004}

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

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange