Unexpected Top-Level Volume Quota Rule Created When Using REST API
Applies to
- ONTAP REST API
- ONTAP 9.7+
Issue
When creating a qtree quota rule using the REST API or the NetApp Python SDK, an unexpected top-level volume quota rule (a “default” rule with no limits) is also created automatically. This does not occur when using the ONTAP CLI, which only creates the explicitly requested rule.
Example Log Output:
::*> volume quota policy rule show -volume vol_quota_test
Vserver: vs1 Policy: default Volume: vol_quota_test
Type Target Qtree Mapping Disk Limit ...---- ------ ----- ------- ---------- ...tree "" "" - - ... <-- Unexpected default ruletree q7g "" - - ... <-- Explicit rule requested
