<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: QoS Policy Cluster Scoped in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/QoS-Policy-Cluster-Scoped/m-p/442387#M479</link>
    <description>&lt;P&gt;Hi Abhi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like a bug either in the endpoint implementation or the documentation. I took a deeper look at the API spec and it looks like the scope field is marked as readOnly which is why you are not able to set it in the POST request.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 19:28:30 GMT</pubDate>
    <dc:creator>Twesha</dc:creator>
    <dc:date>2023-03-13T19:28:30Z</dc:date>
    <item>
      <title>QoS Policy Cluster Scoped</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/QoS-Policy-Cluster-Scoped/m-p/442301#M478</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to create new policies in OnTap 9.11 and it to cluster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 &lt;/SPAN&gt;&lt;A class="" title="https://library.netapp.com/ecmdocs/ECMLP2882307/html/#/storage/qos_policy_create" href="https://library.netapp.com/ecmdocs/ECMLP2882307/html/#/storage/qos_policy_create" target="_blank" rel="noreferrer noopener"&gt;https://library.netapp.com/ecmdocs/ECMLP2882307/html/#/storage/qos_policy_create&lt;/A&gt;&lt;SPAN&gt; "scope": "cluster" is a valid option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using ansible Module ' netapp.ontap.na_ontap_restit:' and body looks like this &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;body: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; name: abhiClusterFixedQosTest &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; fixed: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; max_throughput_iops: 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;capacity_shared: true &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;max_throughput_mbps: 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;min_throughput_iops: 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;min_throughput_mbps: 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;svm: name: "abhitest001" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;scope: 'svm' # or scope: 'cluster' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but neither works Code works if i am not using scope as an option but then the policy is created for SVM, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;more details here '&lt;/SPAN&gt;&lt;A class="" title="https://discord.com/channels/855068651522490400/1082967001770774538/1082967001770774538" href="https://discord.com/channels/855068651522490400/1082967001770774538/1082967001770774538" target="_blank" rel="noreferrer noopener"&gt;https://discord.com/channels/855068651522490400/1082967001770774538/1082967001770774538&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is error code 262196 Field cannot be set in this operation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enum: [ cluster, svm ] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Scope option is not present in the command level as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also tested this on ontap 9.12 with same results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for any inputs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Abhi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:52:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/QoS-Policy-Cluster-Scoped/m-p/442301#M478</guid>
      <dc:creator>abhijeetjanwalkar</dc:creator>
      <dc:date>2025-06-04T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: QoS Policy Cluster Scoped</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/QoS-Policy-Cluster-Scoped/m-p/442387#M479</link>
      <description>&lt;P&gt;Hi Abhi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks like a bug either in the endpoint implementation or the documentation. I took a deeper look at the API spec and it looks like the scope field is marked as readOnly which is why you are not able to set it in the POST request.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 19:28:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/QoS-Policy-Cluster-Scoped/m-p/442387#M479</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-03-13T19:28:30Z</dc:date>
    </item>
  </channel>
</rss>

