#QoS Policy Cluster Scoped

1 messages · Page 1 of 1 (latest)

rain glacier
#

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,

Thanks for any inputs.

rain glacier
#

I tried first creating policy without scope and using PATCH to change it to Scoped to cluster, failed.

#

this is error code 262196 Field cannot be set in this operation.

dire bone
#

usually we can set scope only in GET call to get cluster resource and avoid setting svm.name in POST/PATCH/DELETE call to make changes in cluster scope resources.

this is expected one in POST - Field "scope" cannot be set in this operation

what happens if svm.name is not set, does restit module creates policy in cluster scope?

rain glacier
#

When i dont set svm.name in POST call "error_code": "2",
"error_message": "invalid field",
and if i add scope: "cluster' then same error as earlier. This was added in 9.11 and now my manager would like to have this feature 🙂 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 ]

dire bone
#

I cannot able to create qos policy at cluster level in cli.

#

Error: command failed: QoS policy groups cannot belong to this type of Vserver. A policy group can belong to a data Vserver with FlexVol volumes only.

rain glacier
#

i tried that as well

dire bone