<?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 ONTAP REST API issues, issue with these two cmdlets: Get-NcSystemImage &amp;amp; Get-NcNetInterface in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/ONTAP-REST-API-issues-issue-with-these-two-cmdlets-Get-NcSystemImage-amp-Get/m-p/449390#M629</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am observing the following two issues when running some Powershell cmdlets against 9.12.1P8.&lt;/P&gt;&lt;P&gt;This is with version 9.13.1.2306 of the Powershell toolkit, but I believe the issue is with the REST API of ONTAP 9.12.1P8 and not with the Powershell toolkit. This is because when I run the same cmdlets against an ONTAP 9.8P18 cluster, they behave as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First cmdlet: Get-NcSystemImage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Against ONTAP 9.12.1P8:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcSystemImage&lt;BR /&gt;&lt;BR /&gt;Node Image IsCurrent IsDefault InstallTimeDT Version &lt;BR /&gt;---- ----- --------- --------- ------------- ------- &lt;BR /&gt;                                             9.10.1P15 &lt;BR /&gt;                                             9.12.1P8 &lt;BR /&gt;                                             9.8P18&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcSystemImage -ONTAPI&lt;BR /&gt;&lt;BR /&gt;Node          Image IsCurrent IsDefault InstallTimeDT       Version &lt;BR /&gt;----          ----- --------- --------- -------------       ------- &lt;BR /&gt;AFF220-XXX-01 image1 False    False     16/11/2023 13:50:48 9.10.1P15 &lt;BR /&gt;AFF220-XXX-01 image2 True     True      16/11/2023 14:50:20 9.12.1P8 &lt;BR /&gt;AFF220-XXX-02 image1 False    False     16/11/2023 13:51:16 9.10.1P15 &lt;BR /&gt;AFF220-XXX-02 image2 True     True      16/11/2023 14:50:46 9.12.1P8&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the ONTAPI output is correct, effectively returning the equivalent of the output of the "system image show" CLI command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second cmdlet: Nc-GetNetInterface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcNetInterface&lt;BR /&gt;&lt;BR /&gt;InterfaceName      OpStatus DataProtocols       FirewallPolicy Vserver Address &lt;BR /&gt;-------------      -------- -------------       -------------- ------- ------- &lt;BR /&gt;intercluster_ic1      up    {intercluster_cor...                       x.y.195.58 &lt;BR /&gt;AFF220-XXX-02_clus1   up    {cluster_core}                             169.254.104.126 &lt;BR /&gt;AFF220-XXX-02_clus2   up    {cluster_core}                             169.254.164.3 &lt;BR /&gt;AFF220-XXX-02_mgmt1   up    {management_core,...                       x.y.195.83 &lt;BR /&gt;AFF220-XXX-01_isc...  up    {data_core, data_...   iSCSI               x.y.198.198 &lt;BR /&gt;intercluster_ic2      up    {intercluster_cor...                       x.y.195.59 &lt;BR /&gt;cluster_mgmt          up    {management_core,...                       x.y.195.43 &lt;BR /&gt;fc-xxx-standalone...  up    {data_core, manag... fc-xxx-standalone     x.y.195.204 &lt;BR /&gt;AFF220-XXX-02_isc...  up    {data_core, data_...   iSCSI               x.y.198.199 &lt;BR /&gt;AFF220-XXX-01_clus1   up    {cluster_core}                             169.254.14.81 &lt;BR /&gt;AFF220-XXX-01_clus2   up    {cluster_core}                             169.254.180.175 &lt;BR /&gt;AFF220-XXX-01_mgmt1   up    {management_core,...                       x.y.195.81 &lt;BR /&gt;lif_openstack_cin...  up    {data_core, manag... openstack-cinder-ldg  x.y.195.14&lt;/PRE&gt;&lt;P&gt;Problem: Vserver info is missing for "Cluster" and cluster SVMs. Not all LIFs are listed.&lt;/P&gt;&lt;P&gt;Compared to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcNetInterface -ONTAPI&lt;BR /&gt;&lt;BR /&gt;InterfaceName       OpStatus DataProtocols FirewallPolicy Vserver Address &lt;BR /&gt;-------------       -------- ------------- -------------- ------- ------- &lt;BR /&gt;AFF220-XXX-01_clus1   up       {none}                     Cluster 169.254.14.81 &lt;BR /&gt;AFF220-XXX-01_clus2   up       {none}                     Cluster 169.254.180.175 &lt;BR /&gt;AFF220-XXX-02_clus1   up       {none}                     Cluster 169.254.104.126 &lt;BR /&gt;AFF220-XXX-02_clus2   up       {none}                     Cluster 169.254.164.3 &lt;BR /&gt;AFF220-XXX-01_mgmt1   up       {none}        mgmt      ClusterXXX-standa... x.y.195.81 &lt;BR /&gt;AFF220-XXX-02_mgmt1   up       {none}        mgmt      ClusterXXX-standa... x.y.195.83 &lt;BR /&gt;cluster_mgmt          up       {none}        mgmt      ClusterXXX-standa... x.y.195.43 &lt;BR /&gt;intercluster_ic1      up       {none}     intercluster ClusterXXX-standa... x.x.195.58 &lt;BR /&gt;intercluster_ic2      up       {none}     intercluster ClusterXXX-standa... x.y.195.59 &lt;BR /&gt;fc-xxx-standalone...  up       {none}        mgmt      fc-xxx-standalone    x.y.195.204 &lt;BR /&gt;fcp_01_zone01         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;fcp_01_zone02         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;fcp_02_zone01         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;fcp_02_zone02         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;AFF220-XXX-01_isc...  up      {iscsi}        data       iSCSI               x.y.198.198 &lt;BR /&gt;AFF220-XXX-02_isc...  up      {iscsi}        data       iSCSI               x.y.198.199 &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {none}        mgmt     openstack-cinder-ldg  x.y.195.14&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I obfuscated some info in the output but the point should be clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else noticing this?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:43:19 GMT</pubDate>
    <dc:creator>sneppef</dc:creator>
    <dc:date>2025-06-04T09:43:19Z</dc:date>
    <item>
      <title>ONTAP REST API issues, issue with these two cmdlets: Get-NcSystemImage &amp; Get-NcNetInterface</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/ONTAP-REST-API-issues-issue-with-these-two-cmdlets-Get-NcSystemImage-amp-Get/m-p/449390#M629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am observing the following two issues when running some Powershell cmdlets against 9.12.1P8.&lt;/P&gt;&lt;P&gt;This is with version 9.13.1.2306 of the Powershell toolkit, but I believe the issue is with the REST API of ONTAP 9.12.1P8 and not with the Powershell toolkit. This is because when I run the same cmdlets against an ONTAP 9.8P18 cluster, they behave as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First cmdlet: Get-NcSystemImage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Against ONTAP 9.12.1P8:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcSystemImage&lt;BR /&gt;&lt;BR /&gt;Node Image IsCurrent IsDefault InstallTimeDT Version &lt;BR /&gt;---- ----- --------- --------- ------------- ------- &lt;BR /&gt;                                             9.10.1P15 &lt;BR /&gt;                                             9.12.1P8 &lt;BR /&gt;                                             9.8P18&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcSystemImage -ONTAPI&lt;BR /&gt;&lt;BR /&gt;Node          Image IsCurrent IsDefault InstallTimeDT       Version &lt;BR /&gt;----          ----- --------- --------- -------------       ------- &lt;BR /&gt;AFF220-XXX-01 image1 False    False     16/11/2023 13:50:48 9.10.1P15 &lt;BR /&gt;AFF220-XXX-01 image2 True     True      16/11/2023 14:50:20 9.12.1P8 &lt;BR /&gt;AFF220-XXX-02 image1 False    False     16/11/2023 13:51:16 9.10.1P15 &lt;BR /&gt;AFF220-XXX-02 image2 True     True      16/11/2023 14:50:46 9.12.1P8&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the ONTAPI output is correct, effectively returning the equivalent of the output of the "system image show" CLI command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second cmdlet: Nc-GetNetInterface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcNetInterface&lt;BR /&gt;&lt;BR /&gt;InterfaceName      OpStatus DataProtocols       FirewallPolicy Vserver Address &lt;BR /&gt;-------------      -------- -------------       -------------- ------- ------- &lt;BR /&gt;intercluster_ic1      up    {intercluster_cor...                       x.y.195.58 &lt;BR /&gt;AFF220-XXX-02_clus1   up    {cluster_core}                             169.254.104.126 &lt;BR /&gt;AFF220-XXX-02_clus2   up    {cluster_core}                             169.254.164.3 &lt;BR /&gt;AFF220-XXX-02_mgmt1   up    {management_core,...                       x.y.195.83 &lt;BR /&gt;AFF220-XXX-01_isc...  up    {data_core, data_...   iSCSI               x.y.198.198 &lt;BR /&gt;intercluster_ic2      up    {intercluster_cor...                       x.y.195.59 &lt;BR /&gt;cluster_mgmt          up    {management_core,...                       x.y.195.43 &lt;BR /&gt;fc-xxx-standalone...  up    {data_core, manag... fc-xxx-standalone     x.y.195.204 &lt;BR /&gt;AFF220-XXX-02_isc...  up    {data_core, data_...   iSCSI               x.y.198.199 &lt;BR /&gt;AFF220-XXX-01_clus1   up    {cluster_core}                             169.254.14.81 &lt;BR /&gt;AFF220-XXX-01_clus2   up    {cluster_core}                             169.254.180.175 &lt;BR /&gt;AFF220-XXX-01_mgmt1   up    {management_core,...                       x.y.195.81 &lt;BR /&gt;lif_openstack_cin...  up    {data_core, manag... openstack-cinder-ldg  x.y.195.14&lt;/PRE&gt;&lt;P&gt;Problem: Vserver info is missing for "Cluster" and cluster SVMs. Not all LIFs are listed.&lt;/P&gt;&lt;P&gt;Compared to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[DBG]: PS C:\Users\FiSneppe\Downloads\ONTAP-audit-scripts&amp;gt;&amp;gt; Get-NcNetInterface -ONTAPI&lt;BR /&gt;&lt;BR /&gt;InterfaceName       OpStatus DataProtocols FirewallPolicy Vserver Address &lt;BR /&gt;-------------       -------- ------------- -------------- ------- ------- &lt;BR /&gt;AFF220-XXX-01_clus1   up       {none}                     Cluster 169.254.14.81 &lt;BR /&gt;AFF220-XXX-01_clus2   up       {none}                     Cluster 169.254.180.175 &lt;BR /&gt;AFF220-XXX-02_clus1   up       {none}                     Cluster 169.254.104.126 &lt;BR /&gt;AFF220-XXX-02_clus2   up       {none}                     Cluster 169.254.164.3 &lt;BR /&gt;AFF220-XXX-01_mgmt1   up       {none}        mgmt      ClusterXXX-standa... x.y.195.81 &lt;BR /&gt;AFF220-XXX-02_mgmt1   up       {none}        mgmt      ClusterXXX-standa... x.y.195.83 &lt;BR /&gt;cluster_mgmt          up       {none}        mgmt      ClusterXXX-standa... x.y.195.43 &lt;BR /&gt;intercluster_ic1      up       {none}     intercluster ClusterXXX-standa... x.x.195.58 &lt;BR /&gt;intercluster_ic2      up       {none}     intercluster ClusterXXX-standa... x.y.195.59 &lt;BR /&gt;fc-xxx-standalone...  up       {none}        mgmt      fc-xxx-standalone    x.y.195.204 &lt;BR /&gt;fcp_01_zone01         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;fcp_01_zone02         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;fcp_02_zone01         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;fcp_02_zone02         up       {fcp}                   fc-xxx-standalone &lt;BR /&gt;AFF220-XXX-01_isc...  up      {iscsi}        data       iSCSI               x.y.198.198 &lt;BR /&gt;AFF220-XXX-02_isc...  up      {iscsi}        data       iSCSI               x.y.198.199 &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {fcp}                  openstack-cinder-ldg &lt;BR /&gt;lif_openstack_cin...  up       {none}        mgmt     openstack-cinder-ldg  x.y.195.14&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I obfuscated some info in the output but the point should be clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else noticing this?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:43:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/ONTAP-REST-API-issues-issue-with-these-two-cmdlets-Get-NcSystemImage-amp-Get/m-p/449390#M629</guid>
      <dc:creator>sneppef</dc:creator>
      <dc:date>2025-06-04T09:43:19Z</dc:date>
    </item>
  </channel>
</rss>

