<?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: Getting errors when using 'Create Qtree' and 'Set Quota' in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129576#M23365</link>
    <description>&lt;P&gt;I had the same problem initially on a test. I had to fill in the “quota_policy” with an existing policy, which was “default” in my case, and then it worked. The information included makes it appear this shouldn’t be needed, but that didn’t appear to be true in my case. See if you experience the same thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, nifty little trick (in my opinion), once you have established your inputs in the Create Qtree command block you can reference them in subsequent blocks by using the name defined. For instance, in the Set Quota command block for Cluster you can use: qtree1.volume.vserver.cluster.name. For qtree name: qtree1.name. And so on (it auto populates as you type to help you dig in). That way if you change whether an input is a user input or statically defined, you should only have to update in the first block. This is how you reference things from “Search or Define” commands, too.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7021i1736D293E725B71F/image-size/large?v=1.0&amp;amp;px=-1" border="0" alt="CaptureRef.JPG" title="CaptureRef.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that&amp;nbsp;helps some.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 21:03:59 GMT</pubDate>
    <dc:creator>MattInCO</dc:creator>
    <dc:date>2017-03-29T21:03:59Z</dc:date>
    <item>
      <title>Getting errors when using 'Create Qtree' and 'Set Quota'</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129567#M23360</link>
      <description>&lt;P&gt;I'm creating a qtree successfully with 'Create Qtree', but getting errors on the 'Set Quota' step within my workflow. The goal of my workflow is to create a new qtree (named by the user) on a volume that I've already created ahead of time. Then, set the quota on the newly created qtree using the disk limit which will be specified by the user.&lt;/P&gt;&lt;P&gt;Here's what I have for Create Qtree, which completed successfully:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="create qtree.gif" style="width: 955px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7017i355CA3524F3BD764/image-size/large?v=v2&amp;amp;px=999" role="button" title="create qtree.gif" alt="create qtree.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I have for Set Quota, which is failing with the error below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="set quota.gif" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7018i602D56CF9155C5A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="set quota.gif" alt="set quota.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the error I'm receiving:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;14:13:52.699 INFO&amp;nbsp; [Set quota] ### Command 'Set quota' in 'PERL' ###&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:54.196 INFO&amp;nbsp; [Set quota] Connecting to cluster: ho-0001-cnas50t&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:55.335 INFO&amp;nbsp; [Set quota] Credentials successfully provided for 'ho-0001-cnas50t'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:55.382 INFO&amp;nbsp; [Set quota] Trying to connect to ho-0001-cnas50t using HTTPS on port 443 with timeout 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:55.913 INFO&amp;nbsp; [Set quota] Set Quota&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:56.646 ERROR&amp;nbsp; [Set quota] Unable to set quota for : /vol/Adam_TestVol1/test03Error -Invalid value specified for "policy" element within "quota-set-entry": "". (13115)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:56.677 ERROR&amp;nbsp; [Set quota] Command failed for Workflow 'Qtree Create - Adam' with error : Can't return outside a subroutine at ./Set_quota7299545918566838944.pl line 103, &amp;lt;STDIN&amp;gt; line 1.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;14:13:56.677 INFO&amp;nbsp; [Set quota] ***** Workflow Execution Failed *****&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think my problem is either with the qtree field and/or the quota_volume field. Adam_TestVol1 is the volume I created ahead of time and this is where the qtree is created in the first step. Any advice on setting the quota on the qtree would be greatly appreciated. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:15:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129567#M23360</guid>
      <dc:creator>A_Campbell</dc:creator>
      <dc:date>2025-06-04T15:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors when using 'Create Qtree' and 'Set Quota'</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129576#M23365</link>
      <description>&lt;P&gt;I had the same problem initially on a test. I had to fill in the “quota_policy” with an existing policy, which was “default” in my case, and then it worked. The information included makes it appear this shouldn’t be needed, but that didn’t appear to be true in my case. See if you experience the same thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, nifty little trick (in my opinion), once you have established your inputs in the Create Qtree command block you can reference them in subsequent blocks by using the name defined. For instance, in the Set Quota command block for Cluster you can use: qtree1.volume.vserver.cluster.name. For qtree name: qtree1.name. And so on (it auto populates as you type to help you dig in). That way if you change whether an input is a user input or statically defined, you should only have to update in the first block. This is how you reference things from “Search or Define” commands, too.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7021i1736D293E725B71F/image-size/large?v=1.0&amp;amp;px=-1" border="0" alt="CaptureRef.JPG" title="CaptureRef.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that&amp;nbsp;helps some.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 21:03:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129576#M23365</guid>
      <dc:creator>MattInCO</dc:creator>
      <dc:date>2017-03-29T21:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors when using 'Create Qtree' and 'Set Quota'</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129607#M23371</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/58398"&gt;@MattInCO&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is fantastic information, filling in 'quota_policy' resolved my issue, I used 'default'. Also, great tip on using notation as qtree1.volume.vserver.cluster.name. I really appreciate the help, Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:13:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Getting-errors-when-using-Create-Qtree-and-Set-Quota/m-p/129607#M23371</guid>
      <dc:creator>A_Campbell</dc:creator>
      <dc:date>2017-03-30T13:13:30Z</dc:date>
    </item>
  </channel>
</rss>

