<?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 na_ontap_info in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/na-ontap-info/m-p/157927#M3070</link>
    <description>&lt;DIV&gt;&amp;nbsp;So I am working with some automation using Ansible and the NetApp Modules&lt;BR /&gt;&amp;nbsp;the one I am using is na_ontap_info&lt;BR /&gt;&amp;nbsp;and whenever I ran a task with that module, I get this error:&lt;BR /&gt;&amp;nbsp;NetApp API failed. Reason - 401:basic auth failed&lt;BR /&gt;&amp;nbsp;So I checked the account that I am using via SSH and it is working&lt;BR /&gt;&amp;nbsp;and also checked it has console, ontapi and ssh access&lt;BR /&gt;&amp;nbsp;but still not working&lt;/DIV&gt;</description>
    <pubDate>Wed, 04 Jun 2025 11:00:07 GMT</pubDate>
    <dc:creator>dabril</dc:creator>
    <dc:date>2025-06-04T11:00:07Z</dc:date>
    <item>
      <title>na_ontap_info</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/na-ontap-info/m-p/157927#M3070</link>
      <description>&lt;DIV&gt;&amp;nbsp;So I am working with some automation using Ansible and the NetApp Modules&lt;BR /&gt;&amp;nbsp;the one I am using is na_ontap_info&lt;BR /&gt;&amp;nbsp;and whenever I ran a task with that module, I get this error:&lt;BR /&gt;&amp;nbsp;NetApp API failed. Reason - 401:basic auth failed&lt;BR /&gt;&amp;nbsp;So I checked the account that I am using via SSH and it is working&lt;BR /&gt;&amp;nbsp;and also checked it has console, ontapi and ssh access&lt;BR /&gt;&amp;nbsp;but still not working&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:00:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/na-ontap-info/m-p/157927#M3070</guid>
      <dc:creator>dabril</dc:creator>
      <dc:date>2025-06-04T11:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: na_ontap_info</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/na-ontap-info/m-p/157929#M3071</link>
      <description>&lt;P&gt;You need to use localhost and https to communicate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of ad-hoc ansible command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"ansible localhost -m na_ontap_info -a "hostname=192.168.0.101 username=admin password=Netapp01 https=true validate_certs=false"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please replace the hostname with your cluster management IP, and same for username and password to see if it works.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 08:55:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/na-ontap-info/m-p/157929#M3071</guid>
      <dc:creator>leiz</dc:creator>
      <dc:date>2020-07-23T08:55:55Z</dc:date>
    </item>
  </channel>
</rss>

