I am trying to create new policies in OnTap 9.11 and trying to scope them to cluster.
error i m getting
"error_message": "Field "scope" cannot be set in this operation",
"msg": "Error when calling '/storage/qos/policies': {'target': 'scope'}",
based on https://library.netapp.com/ecmdocs/ECMLP2882307/html/#/storage/qos_policy_create
"scope": "cluster" is a valid option.
I am using ansible Module ' netapp.ontap.na_ontap_restit:' and body looks like this
body:
name: abhiClusterFixedQosTest
fixed:
max_throughput_iops: 0
capacity_shared: true
max_throughput_mbps: 0
min_throughput_iops: 0
min_throughput_mbps: 0
svm:
name: "abhitest001"
scope: 'svm' # or scope: 'cluster' but neither works
Code works if i am not using scope as an option but then the policy is created for SVM,
more details here #1082967001770774538 message
this is error code 262196 Field cannot be set in this operation.
This was added in 9.11
Scope (9.11) string
Scope of the entity. Set to "cluster" for cluster owned objects and to "svm" for SVM owned objects.
Enum:
[ cluster, svm ]
Thanks for any inputs.
Abhi