<?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: It is impossible to create volumes and new export policies simultaneously in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461548#M45009</link>
    <description>&lt;P&gt;I was able to reproduce this issue in both 9.13 and 9.15. It appears to be a bug in the /application/applications REST API that occurs specifically when you attempt to create a new export policy at volume creation time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The POST call structured by System Manager sets the value nas.application-components[0].export-policy.name as "none", which is interpreted as a value so it fails because it can't co-exist with the host entry (192.168.0.22 in your example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it by using the REST API interface (https://&amp;lt;cluster-ip&amp;gt;/docs/API) to craft a POST call with the export policy name value set as an empty array "[]" instead and the volume is created with an export policy that matches the volume name containing the host.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on my phone at the moment, but I'll come back and share some code snippets later. I realize this doesn't help fix it but at least it explains why it is broken. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 15:09:50 GMT</pubDate>
    <dc:creator>donny_lang</dc:creator>
    <dc:date>2025-06-11T15:09:50Z</dc:date>
    <item>
      <title>It is impossible to create volumes and new export policies simultaneously</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461488#M45002</link>
      <description>&lt;P&gt;My ontap version is 9.13. While creating a volume through the web interface, I also created a new export policy at the same time, but a problem occurred. Is this a version bug?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wareer_0-1749439922075.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/31356i1615AFB7AEAD1FAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wareer_0-1749439922075.png" alt="wareer_0-1749439922075.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 03:32:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461488#M45002</guid>
      <dc:creator>wareer</dc:creator>
      <dc:date>2025-06-09T03:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: It is impossible to create volumes and new export policies simultaneously</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461548#M45009</link>
      <description>&lt;P&gt;I was able to reproduce this issue in both 9.13 and 9.15. It appears to be a bug in the /application/applications REST API that occurs specifically when you attempt to create a new export policy at volume creation time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The POST call structured by System Manager sets the value nas.application-components[0].export-policy.name as "none", which is interpreted as a value so it fails because it can't co-exist with the host entry (192.168.0.22 in your example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested it by using the REST API interface (https://&amp;lt;cluster-ip&amp;gt;/docs/API) to craft a POST call with the export policy name value set as an empty array "[]" instead and the volume is created with an export policy that matches the volume name containing the host.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on my phone at the moment, but I'll come back and share some code snippets later. I realize this doesn't help fix it but at least it explains why it is broken. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:09:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461548#M45009</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2025-06-11T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: It is impossible to create volumes and new export policies simultaneously</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461560#M45010</link>
      <description>&lt;P&gt;Updated my test cluster to 9.16.1P4, it's fixed in that version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 19:28:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/It-is-impossible-to-create-volumes-and-new-export-policies-simultaneously/m-p/461560#M45010</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2025-06-11T19:28:07Z</dc:date>
    </item>
  </channel>
</rss>

