<?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: Failed to run query 'SELECT wfa_finders.... while executing a flow in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97933#M17301</link>
    <description>Yep.&lt;BR /&gt;2.2&lt;BR /&gt;10x</description>
    <pubDate>Tue, 02 Dec 2014 13:26:04 GMT</pubDate>
    <dc:creator>solal</dc:creator>
    <dc:date>2014-12-02T13:26:04Z</dc:date>
    <item>
      <title>Failed to run query 'SELECT wfa_finders.... while executing a flow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97894#M17293</link>
      <description>&lt;P&gt;Hi guys.&lt;/P&gt;&lt;P&gt;I have a flow that I adapted from 7m to cm commands.&lt;/P&gt;&lt;P&gt;Since I did that, including re-writing filters to cdot, whenever I run a preview or execute, my flows fails with that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to run query 'SELECT wfa_finders.Filter_aggregates_in_farm_cDOT_177.`name` AS `name`,wfa_finders.Filter_aggregates_in_farm_cDOT_177.`node.cluster.primary_address` AS `node.cluster.primary_address`,wfa_finders.Filter_aggregates_in_farm_cDOT_177.`node.name` AS `node.name`,wfa_finders.Filter_aggregates_in_farm_cDOT_177.`FarmName` AS `FarmName`,wfa_finders.Filter_aggregates_in_farm_cDOT_177.`SVM_name` AS `SVM_name`,wfa_finders.Filter_aggregates_in_farm_cDOT_177.`available_size_mb` AS `available_size_mb`,wfa_finders.Filter_aggregates_in_farm_cDOT_177.`vserver.name` AS `vserver.name` FROM wfa_finders.Filter_aggregates_in_farm_cDOT_177 ORDER BY `name` ASC,`node.cluster.primary_address` ASC,`node.name` ASC,`FarmName` DESC,`SVM_name` ASC,`available_size_mb` DESC,`vserver.name` DESC LIMIT 1'&lt;BR /&gt;At command 'cDOT Find Farm Target Aggr', tab 'Aggregate', variable 'Target_aggr', property 'name'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when running the filter on it's own, it runs fine and return a line.&lt;/P&gt;&lt;P&gt;filter's query looks like that:&lt;/P&gt;&lt;P&gt;'SELECT aggr.name,&lt;BR /&gt;aggr.available_size_mb,&lt;BR /&gt;cluster.name AS 'cluster.name',&lt;BR /&gt;vserver.name AS 'vserver.name',&lt;BR /&gt;farm.IgroupStdLun AS 'igroup_name',&lt;BR /&gt;farm.FarmName,&lt;BR /&gt;farm.VMFarmName,&lt;BR /&gt;farm.DiskType,&lt;BR /&gt;node.name AS 'node.name',&lt;BR /&gt;cluster.primary_address AS 'node.cluster.primary_address'&lt;BR /&gt;FROM&lt;BR /&gt;cm_storage.aggregate AS aggr,&lt;BR /&gt;cm_storage.cluster AS cluster,&lt;BR /&gt;cm_storage.vserver AS vserver,&lt;BR /&gt;playground.cdot_farm_mapping AS farm,&lt;BR /&gt;cm_storage.node AS node&lt;BR /&gt;WHERE&lt;BR /&gt;aggr.name = farm.AggrName&lt;BR /&gt;AND aggr.node_id = node.id&lt;BR /&gt;AND cluster.name = farm.ClusterName&lt;BR /&gt;AND vserver.name LIKE farm.SVMname&lt;BR /&gt;AND farm.VMFarmName = 'Austin-Farm02'&lt;BR /&gt;AND farm.SVMname LIKE '%'&lt;BR /&gt;AND farm.AggrName LIKE '%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the error messages from the wfa log for executing the flow are:&lt;/P&gt;&lt;P&gt;2014-12-02 10:03:02,432 INFO [com.netapp.wfa.engine.exec.TabularWorkflowExecutionPlannerImpl] (http-executor-threads - 34) Building execution plan for workflow cDOT - Create standard LUN for a VMware Datastore&lt;BR /&gt;2014-12-02 10:03:02,525 DEBUG [com.netapp.wfa.finders.execution.impl.FindersExecutorImpl] (http-executor-threads - 34) ========================================================================================&lt;BR /&gt;2014-12-02 10:03:02,528 DEBUG [com.netapp.wfa.finders.execution.impl.FindersExecutorImpl] (http-executor-threads - 34) Executing finder 'Finder{id=474, name='5d5c96f9-b42a-4f58-997f-55f3330b1f1c', dictionaryEntry=Aggregate}', parameters '{SVMname=vs_vmware, AggrName=node02_aggr_1T_0, Farm_Name=Austin-Farm02}'&lt;BR /&gt;2014-12-02 10:03:02,533 DEBUG [com.netapp.wfa.finders.execution.impl.FindersExecutorImpl] (http-executor-threads - 34) Executing local filter 'Filter aggregates in farm-cDOT', parameters '{SVMname=vs_vmware, AggrName=node02_aggr_1T_0, Farm_Name=Austin-Farm02}', query 'SELECT&lt;BR /&gt;aggr.name,&lt;BR /&gt;aggr.available_size_mb,&lt;BR /&gt;cluster.name AS 'cluster.name',&lt;BR /&gt;vserver.name AS 'vserver.name',&lt;BR /&gt;farm.IgroupStdLun AS 'igroup_name',&lt;BR /&gt;farm.FarmName,&lt;BR /&gt;farm.VMFarmName,&lt;BR /&gt;farm.DiskType,&lt;BR /&gt;node.name AS 'node.name',&lt;BR /&gt;cluster.primary_address AS 'node.cluster.primary_address'&lt;BR /&gt;FROM&lt;BR /&gt;cm_storage.aggregate AS aggr,&lt;BR /&gt;cm_storage.cluster AS cluster,&lt;BR /&gt;cm_storage.vserver AS vserver,&lt;BR /&gt;playground.cdot_farm_mapping AS farm,&lt;BR /&gt;cm_storage.node AS node&lt;BR /&gt;WHERE&lt;BR /&gt;aggr.name = farm.AggrName&lt;BR /&gt;AND aggr.node_id = node.id&lt;BR /&gt;AND cluster.name = farm.ClusterName&lt;BR /&gt;AND vserver.name LIKE farm.SVMname&lt;BR /&gt;AND farm.VMFarmName = 'Austin-Farm02'&lt;BR /&gt;AND farm.SVMname LIKE '%vs_vmware'&lt;BR /&gt;AND farm.AggrName LIKE '%node02_aggr_1T_0''&lt;BR /&gt;2014-12-02 10:03:02,552 DEBUG [com.netapp.wfa.finders.execution.impl.FindersExecutorImpl] (http-executor-threads - 34) Local filter 'Filter aggregates in farm-cDOT' successfully executed, rows affected '1'&lt;BR /&gt;2014-12-02 10:03:02,555 DEBUG [com.netapp.wfa.common.stats.MethodInvocationStatsInterceptor] (http-executor-threads - 34) COMPLETED milliseconds=21 depth=3 class=FindersExecutorImpl method=executeFinderImpl parameters=[Filter{id=177, name='Filter aggregates in farm-cDOT', dictionaryEntry=Aggregate},{SVMname=vs_vmware, AggrName=node02_aggr_1T_0, Farm_Name=Austin-Farm02},com.netapp.wfa.util.SqlShell@a4c852c,[node.name, name, node.cluster.primary_address]]&lt;BR /&gt;2014-12-02 10:03:02,560 DEBUG [com.netapp.wfa.common.stats.MethodInvocationStatsInterceptor] (http-executor-threads - 34) FAILED milliseconds=35 depth=2 class=FindersExecutorImpl method=executeFinder parameters=[Finder{id=474, name='5d5c96f9-b42a-4f58-997f-55f3330b1f1c', dictionaryEntry=Aggregate},{SVMname=vs_vmware, AggrName=node02_aggr_1T_0, Farm_Name=Austin-Farm02}]&lt;BR /&gt;2014-12-02 10:03:13,506 ERROR [com.netapp.wfa.engine.exec.TabularWorkflowExecutionPlannerImpl] (http-executor-threads - 34) Failed to build execution plan for workflow 'cDOT - Create standard LUN for a VMware Datastore'&lt;BR /&gt;2014-12-02 10:03:13,535 DEBUG [com.netapp.wfa.common.stats.MethodInvocationStatsInterceptor] (http-executor-threads - 34) COMPLETED milliseconds=11339 depth=1 class=TabularWorkflowExecutionPlannerImpl method=buildExecutionPlan parameters=[TabularWorkflow{id=108, name='cDOT - Create standard LUN for a VMware Datastore', readyForProduction=false},{$IsStandard=true, $IsManualAggr=true, $ManualAggrName=node02_aggr_1T_0, ... (8)},true]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance!!&lt;/P&gt;&lt;P&gt;Soli.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:23:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97894#M17293</guid>
      <dc:creator>solal</dc:creator>
      <dc:date>2025-06-05T05:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run query 'SELECT wfa_finders.... while executing a flow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97932#M17300</link>
      <description>&lt;P&gt;Can you specify the version of WFA you are using ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2014 13:22:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97932#M17300</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2014-12-02T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run query 'SELECT wfa_finders.... while executing a flow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97933#M17301</link>
      <description>Yep.&lt;BR /&gt;2.2&lt;BR /&gt;10x</description>
      <pubDate>Tue, 02 Dec 2014 13:26:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97933#M17301</guid>
      <dc:creator>solal</dc:creator>
      <dc:date>2014-12-02T13:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run query 'SELECT wfa_finders.... while executing a flow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97995#M17309</link>
      <description>&lt;P&gt;Hi Solal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the details. I was able to sort of replicate the scenario. It would be better if you can confirm the steps as I have done some guessing here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- A filter was created with the query you provided, but there was also an additional SELECT clause originally in it&lt;BR /&gt;farm.SVMname AS SVM_name&lt;/P&gt;&lt;P&gt;- A workflow was created choosing this filter in the resource selector for choosing an aggregate&lt;/P&gt;&lt;P&gt;- When configuring the resource selection, you also went to Advanced tab, Sorting pane, and choose almost all of the attributes there and provided the "ASCENDING", "DESCENDING" value&lt;BR /&gt;This included SVM_name&lt;/P&gt;&lt;P&gt;- Now, in the filter, the select clause to select the alias SVM_name was removed. i.e the return attributes of the filter do not include "farm.SVMname as SVM_name" anymore.&lt;/P&gt;&lt;P&gt;- Now, when you preview/execute the workflow, this "Failed to run query" error is coming.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Assuming the above are the steps, you could try one of the following:&lt;BR /&gt;- Modify the filter to include the "farm.SVMname as SVM_name"&lt;BR /&gt;- Provide the resource selection criteria in the workflow again and ensure the Advanced -&amp;gt; Sorting tab does not have SVM_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on your response, I will file appropriate bug in WFA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Shailaja&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 08:18:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/97995#M17309</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2014-12-03T08:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run query 'SELECT wfa_finders.... while executing a flow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/98001#M17312</link>
      <description>Hi Shailaja&lt;BR /&gt;I did check that and is seems that somewhere along the way I changed vserver.name to SVM_name. That happened after the filter was already being used in the no-op command inside the workflow.&lt;BR /&gt;I needed to remove the use of that filter from the workforce, save and re-add it. Then it was solved.&lt;BR /&gt;Regarding the mass of sorting with ASC and DESC, I'm doing that because I need a reference to those output parameters and when they're not sorted and returned as NONE then the next command that uses them doesn't recognize them.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your help!&lt;BR /&gt;Solal.</description>
      <pubDate>Wed, 03 Dec 2014 10:56:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/98001#M17312</guid>
      <dc:creator>solal</dc:creator>
      <dc:date>2014-12-03T10:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run query 'SELECT wfa_finders.... while executing a flow</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/98005#M17315</link>
      <description>&lt;P&gt;Thanks for confirming Solal.&lt;/P&gt;&lt;P&gt;An issue #872027 has been filed to automatically take care of this issue. If you are opening a support case, please refer to this bug number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;Regarding the mass of sorting with ASC and DESC, I'm doing that because I need a reference to those output parameters and when they're not sorted and returned as NONE then the next command that uses them doesn't recognize them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats right. If attributes other than ones in the dictionary entry have to be available in subsequent part of the workflow, then you need to add them to sorting list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2014 13:37:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Failed-to-run-query-SELECT-wfa-finders-while-executing-a-flow/m-p/98005#M17315</guid>
      <dc:creator>shailaja</dc:creator>
      <dc:date>2014-12-03T13:37:41Z</dc:date>
    </item>
  </channel>
</rss>

