<?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: &amp;quot;Failed to resolve expression '0f'&amp;quot; when creating a SAN SVM (NetApp Workflow) in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139510#M25448</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/36663"&gt;@EricBecker&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is now a different issue. The original issue of unable to resolve the expression 0f is solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To solve this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Are you getting this error during workflow preview? Or Preview passed but the workflow execution failed? This is important to know. Looks like the error is corrert, the selected port doesn't belong to the shown node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would need to make the right selection. Or modify the query to handle this user-mistake.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 08:38:49 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2018-04-11T08:38:49Z</dc:date>
    <item>
      <title>"Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139440#M25430</link>
      <description>&lt;P&gt;I'm getting the following error when calling "Create and configure SAN Storage Virtual Machine" NetApp workflow (ver 2.0.0).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Failed to resolve expression '0f'
Location: 'Create FCP Logical Interface' command &amp;gt; 'Logical_Interface' tab &amp;gt; 'fcp_lif2' variable &amp;gt; 'name' property&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This only happens if I&amp;nbsp;request&amp;nbsp;2 FCP LIFs; requesting 1 correctly creates the LIF on 0e.&amp;nbsp; I thought it was related to mvel interpretting the name variable as a float with a value of 0 &lt;A title="as described in this thread" href="https://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Adapter-quot-0d-quot-resolved-as-d/td-p/11104" target="_self"&gt;as described in this thread&lt;/A&gt;&amp;nbsp;(instead of a string 0f), but I was able to clone the filter and tweak the sql to wrap single quotes around port name and I still get the same error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Filter FCP adapters by online status_copy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SELECT
--    fcp_adapter.name&lt;BR /&gt;++    QUOTE(fcp_adapter.name) as 'name',
    node.name AS 'node.name',
    cluster.primary_address AS 'node.cluster.primary_address',
    count(logical_interface.id) AS lifCount      
FROM
    cm_storage.fcp_adapter      
JOIN
    cm_storage.node                                                      
        ON fcp_adapter.node_id = node.id      
JOIN
    cm_storage.cluster                                                      
        ON node.cluster_id = cluster.id      
LEFT JOIN
    cm_storage.logical_interface                                                      
        ON fcp_adapter.id = logical_interface.fcp_adapter_id      
WHERE
    fcp_adapter.status = 'online'                              
    AND (
        cluster.primary_address = '${cluster}'                                                      
        OR cluster.name = '${cluster}'                              
    )                              
    AND node.name = '${node_name}'      
GROUP BY
    fcp_adapter.name,
    node.name,
    cluster.primary_address&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Failed to resolve expression '''0f'''
Location: 'Create FCP logical interface' command &amp;gt; 'Logical_Interface' tab &amp;gt; 'fcp_lif2' variable &amp;gt; 'name' property&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'd attach logs, but it doesn't appear they're created for this workflow (redirected to a 404 when I click on download logs).&lt;/SPAN&gt;&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 13:50:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139440#M25430</guid>
      <dc:creator>EricBecker</dc:creator>
      <dc:date>2025-06-04T13:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139466#M25432</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/36663"&gt;@EricBecker&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this, Use CONCAT function to add double quotes in your query result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SELECT
   &lt;FONT color="#FF0000"&gt;CONCAT('"', fcp_adapter.name, '"') as 'name',&lt;/FONT&gt;&lt;BR /&gt;...&lt;BR /&gt;...&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 06:12:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139466#M25432</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2018-04-10T06:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139473#M25437</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/36663"&gt;@EricBecker&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did it work for you? I didn't test it now as I don't have a WFA with me.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:34:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139473#M25437</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2018-04-10T08:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139508#M25447</link>
      <description>&lt;P&gt;Unfortunately no dice.&amp;nbsp; I just cloned "Create and configure SAN Storage Virtual Machine" and filter "Filter FCP adapters by online status" (both copies have _copy appended to the name), updated the filter as instructed, and pointed the Logical_Interface fcp_lif2 -&amp;gt; fcp_adapter filter to the newly copied version.&amp;nbsp; When I run it I get the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"0f" is an invalid port on node na-cluster1-01. Location: Row '4' step 'Create FCP Logical Interface'.&lt;/PRE&gt;
&lt;P&gt;Contents of &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Filter FCP adapters by online status_coph"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SELECT
    CONCAT('"',
    fcp_adapter.name,
    '"') as 'name',
    node.name AS 'node.name',
    cluster.primary_address AS 'node.cluster.primary_address',
    count(logical_interface.id) AS lifCount 
FROM
    cm_storage.fcp_adapter 
JOIN
    cm_storage.node         
        ON fcp_adapter.node_id = node.id 
JOIN
    cm_storage.cluster         
        ON node.cluster_id = cluster.id 
LEFT JOIN
    cm_storage.logical_interface         
        ON fcp_adapter.id = logical_interface.fcp_adapter_id 
WHERE
    fcp_adapter.status = 'online'     
    AND (
        cluster.primary_address = '${cluster}'         
        OR cluster.name = '${cluster}'     
    )     
    AND node.name = '${node_name}' 
GROUP BY
    fcp_adapter.name,
    node.name,
    cluster.primary_address&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 02:36:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139508#M25447</guid>
      <dc:creator>EricBecker</dc:creator>
      <dc:date>2018-04-11T02:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139510#M25448</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/36663"&gt;@EricBecker&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is now a different issue. The original issue of unable to resolve the expression 0f is solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To solve this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Are you getting this error during workflow preview? Or Preview passed but the workflow execution failed? This is important to know. Looks like the error is corrert, the selected port doesn't belong to the shown node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would need to make the right selection. Or modify the query to handle this user-mistake.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 08:38:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139510#M25448</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2018-04-11T08:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139522#M25458</link>
      <description>&lt;P&gt;The original error with single quotes failed during preview and the new one with double quotes is failing in execution. The SVM is created and so are the lifs on 0e for both nodes.&amp;nbsp; It bombs when trying to assign the 3rd lif (the first node on port 0f).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;na-cluster1::&amp;gt; network interface show -vserver wfasan9_svm -data-protocol fcp
            Logical    Status     Network            Current       Current Is
Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
----------- ---------- ---------- ------------------ ------------- ------- ----
wfasan9_svm
            wfasan9_svm_fcp_lif_01 
                         up/up    20:15:00:a0:98:be:1f:44 
                                                     na-cluster1-01 
                                                                   0e      true
            wfasan9_svm_fcp_lif_02 
                         up/up    20:05:00:a0:98:be:1f:44 
                                                     na-cluster1-02 
                                                                   0e      true
2 entries were displayed.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The execution values pulled from the job history are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Cluster=na-cluster1.**********&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;FCPAdapter="0f"&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;LogicalInterfaceName=wfasan9_svm_fcp_lif_03&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Node=na-cluster1-01&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;VserverName=wfasan9_svm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;way the official NetApp workflow is written I have no ability to&amp;nbsp;select another port and&amp;nbsp;it's better for my scenario that the workflow does it automatically (as written by NetApp) to avoid user mistakes.&amp;nbsp; As near as I can tell, the cluster, node, vserver, and port are valid.&amp;nbsp; I can create the lif using the same parameter from the cli without issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;na-cluster1::&amp;gt; network interface create -lif wfasan9_svm_fcp_lif_03 -vserver wfasan9_svm -home-node na-cluster1-01 -home-port 0f -role data -data-protocol fcp

na-cluster1::&amp;gt; network interface show -vserver wfasan9_svm -lif wfasan9_svm_fcp_lif_03

                    Vserver Name: wfasan9_svm
          Logical Interface Name: wfasan9_svm_fcp_lif_03
                            Role: data
                   Data Protocol: fcp
                       Home Node: na-cluster1-01
                       Home Port: 0f
                    Current Node: na-cluster1-01
                    Current Port: 0f
              Operational Status: up
                 Extended Status: NS Registration done
                         Is Home: true
                 Network Address: -
                         Netmask: -
             Bits in the Netmask: -
                     Subnet Name: -
           Administrative Status: up
                 Failover Policy: disabled
                 Firewall Policy: -
                     Auto Revert: false
   Fully Qualified DNS Zone Name: none
         DNS Query Listen Enable: -
             Failover Group Name: -
                        FCP WWPN: 20:06:00:a0:98:be:1f:44
                  Address family: -
                         Comment: -
                  IPspace of LIF: -
  Is Dynamic DNS Update Enabled?: -&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attempted to&amp;nbsp;manually execute the&amp;nbsp;powershell commands to see if there's an issue with the wfa module accepting the quoted port "0f" vs non-quoted values for everything else.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $Cluster = "na-cluster1.********"
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $FCPAdapter = "`"0f`""        ####escaping the second set of quotes so the "0f" value is passed to the module double quoted
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $LogicalInterfaceName = "wfasan9_svm_fcp_lif_03"
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $Node = "na-cluster1-01"
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; $VserverName = "wfasan9_svm"
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt;
PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; Connect-WfaCluster $Cluster
&lt;FONT color="#FF0000"&gt;Get-WfaCredentials : Execution URI input line was not set.
At C:\Program Files\NetApp\WFA\PoSH\Modules\WFAWrapper\WFAWrapper.psm1:680 char:20
+     $credentials = Get-WfaCredentials -Host $Node
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-WfaCredentials], Exception
    + FullyQualifiedErrorId : System.Exception,WFA.GetWfaCredentials

Failed to connect to cluster node: na-cluster1.********.
Execution URI input line was not set.
At C:\Program Files\NetApp\WFA\PoSH\Modules\WFAWrapper\WFAWrapper.psm1:1396 char:5
+     throw $msg
+     ~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Failed to conne...ne was not set.:String) [], RuntimeException
    + FullyQualifiedErrorId : Failed to connect to cluster node: na-******.
Execution URI input line was not set.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;PS C:\Program Files\NetApp\WFA\PoSH&amp;gt; New-NcNetInterface -Name $LogicalInterfaceName -Vserver $VserverName -Node $Node -Port $FCPAdapter -Role "data" -DataProtocols "fcp" -ErrorAction Stop&lt;/FONT&gt;&lt;BR /&gt;New-NcNetInterface : Value cannot be null.&lt;BR /&gt;Parameter name: Controller parameter neither specified nor set in $global:CurrentNcController&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ New-NcNetInterface -Name $LogicalInterfaceName -Vserver $VserverName ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; + CategoryInfo : InvalidArgument: (:) [New-NcNetInterface], ArgumentNullException&lt;BR /&gt; + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.C.PowerShell.SDK.Cmdlets.Net.NewNcNetInterface&lt;BR /&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently the module needs to run inside of WFA due to the credentials.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:32:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139522#M25458</guid>
      <dc:creator>EricBecker</dc:creator>
      <dc:date>2018-04-11T18:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: "Failed to resolve expression '0f'" when creating a SAN SVM (NetApp Workflow)</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139716#M25496</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/36663"&gt;@EricBecker&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running a WFA command outside of WFA i.e. from a Powershell ISE needs some work. I'll post it today.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:48:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/quot-Failed-to-resolve-expression-0f-quot-when-creating-a-SAN-SVM-NetApp/m-p/139716#M25496</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2018-04-20T07:48:01Z</dc:date>
    </item>
  </channel>
</rss>

