Creating CVO SVM export policy failed using Ansible script
Applies to
- BlueXP
- Cloud Volumes ONTAP (CVO)
- Ansible Script
- ONTAP 9
Issue
When attempting to create the SVM policy on Cloud Volumes ONTAP (CVO) using Ansible script, an error occurs stating that the address bytes masked out by the netmask are non-zero.
{ "name": "export-svm_XXXX", "svm": { "name": "svm_XXXX" }, "_cluster": "10.xx.xx.xx,10.xx.xx.xx", "rules": [ { "protocols": [ "any" ], "clients": [ { "match": "10.xx.xx.0/24" }, { "match": "10.xx.xx.0/21" } ], "ro_rule": [ "any" ], "rw_rule": [ "any" ], "superuser": [ "any" ], "index": 1 } ], "_failure": "Map(error -> {"code":"1704040","message":"Invalid clientmatch \"10.xx.xx.0/21\": address bytes masked out by netmask are non-zero"})" }