<?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: netapp API issue in ansible in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147254#M2892</link>
    <description>&lt;P&gt;hi Graham,&lt;/P&gt;
&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;I used na_ontap_aggregate but no luck again getting the below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The full traceback is:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py", line 113, in &amp;lt;module&amp;gt;&lt;BR /&gt;_ansiballz_main()&lt;BR /&gt;File "/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py", line 105, in _ansiballz_main&lt;BR /&gt;invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)&lt;BR /&gt;File "/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py", line 48, in invoke_module&lt;BR /&gt;imp.load_module('__main__', mod, module, MOD_DESC)&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 391, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 387, in main&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 353, in apply&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 344, in asup_log_for_cserver&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/ansible_na_ontap_aggregate_payload.zip/ansible/module_utils/netapp.py", line 268, in get_cserver&lt;BR /&gt;File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 290, in invoke_successfully&lt;BR /&gt;raise NaApiError(code, msg)&lt;BR /&gt;netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported.&lt;/P&gt;
&lt;P&gt;fatal: [localhost]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py\", line 113, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 391, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 387, in main\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 353, in apply\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 344, in asup_log_for_cserver\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/ansible_na_ontap_aggregate_payload.zip/ansible/module_utils/netapp.py\", line 268, in get_cserver\n File \"/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py\", line 290, in invoke_successfully\n raise NaApiError(code, msg)\nnetapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported.\n",&lt;BR /&gt;"module_stdout": "",&lt;BR /&gt;"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",&lt;BR /&gt;"rc": 1&lt;BR /&gt;}&lt;BR /&gt;to retry, use: --limit @/first.retry&lt;/P&gt;
&lt;P&gt;PLAY RECAP **********************************************************************************************************************&lt;BR /&gt;localhost : ok=1 changed=0 unreachable=0 failed=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am using the below programme&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- hosts: localhost&lt;BR /&gt;tasks:&lt;BR /&gt;- name: Manage Aggregates&lt;BR /&gt;na_ontap_aggregate:&lt;BR /&gt;state: present&lt;BR /&gt;name: ansibleAggr&lt;BR /&gt;disk_count: 4&lt;BR /&gt;hostname: "192.168.0.101"&lt;BR /&gt;username: "username"&lt;BR /&gt;password: "password"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 18:08:03 GMT</pubDate>
    <dc:creator>pamo</dc:creator>
    <dc:date>2019-03-18T18:08:03Z</dc:date>
    <item>
      <title>netapp API issue in ansible</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147239#M2889</link>
      <description>&lt;P&gt;I am running ontap 9.1 and redhat 6.8 used for ansible&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ansible version details:&lt;/P&gt;
&lt;P&gt;[root@rhel2 /]# ansible --version&lt;BR /&gt;ansible 2.7.9&lt;BR /&gt;config file = /etc/ansible/ansible.cfg&lt;BR /&gt;configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']&lt;BR /&gt;ansible python module location = /usr/lib/python2.6/site-packages/ansible&lt;BR /&gt;executable location = /usr/bin/ansible&lt;BR /&gt;python version = 2.6.6 (r266:84292, May 22 2015, 08:34:51) [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Getting this error while running the first playbook for aggr creation&lt;/P&gt;
&lt;P&gt;The full traceback is:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/tmp/ansible_na_cdot_aggregate_payload_TmquWf/__main__.py", line 138, in get_aggr&lt;BR /&gt;enable_tunneling=False)&lt;BR /&gt;File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 281, in invoke_successfully&lt;BR /&gt;result = self.invoke_elem(na_element, enable_tunneling)&lt;BR /&gt;File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 263, in invoke_elem&lt;BR /&gt;raise NaApiError('Unexpected error', e.message)&lt;BR /&gt;NaApiError: NetApp API failed. Reason - Unexpected error:&lt;/P&gt;
&lt;P&gt;fatal: [localhost]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"disk_count": 4,&lt;BR /&gt;"hostname": "192.168.0.101",&lt;BR /&gt;"name": "ansibleAggr",&lt;BR /&gt;"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",&lt;BR /&gt;"state": "present",&lt;BR /&gt;"username": "admin"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"msg": "NetApp API failed. Reason - Unexpected error:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need help on this&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 10:16:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147239#M2889</guid>
      <dc:creator>pamo</dc:creator>
      <dc:date>2019-03-18T10:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: netapp API issue in ansible</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147240#M2890</link>
      <description>&lt;P&gt;With respect to above also getting the below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The full traceback is:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/tmp/ansible_na_cdot_aggregate_payload_i1cIi0/__main__.py", line 138, in get_aggr&lt;BR /&gt;enable_tunneling=False)&lt;BR /&gt;File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 290, in invoke_successfully&lt;BR /&gt;raise NaApiError(code, msg)&lt;BR /&gt;NaApiError: NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported.&lt;/P&gt;
&lt;P&gt;fatal: [localhost]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"disk_count": 4,&lt;BR /&gt;"hostname": "192.168.0.101",&lt;BR /&gt;"name": "ansibleAggr",&lt;BR /&gt;"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",&lt;BR /&gt;"state": "present",&lt;BR /&gt;"username": "admin"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"msg": "NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported."&lt;BR /&gt;}&lt;BR /&gt;to retry, use: --limit @/first.retry&lt;/P&gt;
&lt;P&gt;PLAY RECAP *********************************************************************************************************************************************&lt;BR /&gt;localhost : ok=1 changed=0 unreachable=0 failed=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Had already installed latest netapp libraries&amp;nbsp;netapp-lib-2018.11.1&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 10:19:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147240#M2890</guid>
      <dc:creator>pamo</dc:creator>
      <dc:date>2019-03-18T10:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: netapp API issue in ansible</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147247#M2891</link>
      <description>&lt;P&gt;Hi pamo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you are using one of the older "na_cdot_*" modules which might not work with newer ONTAP versions. Have you looked at "na_&lt;STRONG&gt;ontap&lt;/STRONG&gt;_aggregate" rather than "na_&lt;STRONG&gt;cdot&lt;/STRONG&gt;_aggregate"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Graham&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 13:44:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147247#M2891</guid>
      <dc:creator>GrahamMcGeown</dc:creator>
      <dc:date>2019-03-18T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: netapp API issue in ansible</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147254#M2892</link>
      <description>&lt;P&gt;hi Graham,&lt;/P&gt;
&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;I used na_ontap_aggregate but no luck again getting the below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The full traceback is:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py", line 113, in &amp;lt;module&amp;gt;&lt;BR /&gt;_ansiballz_main()&lt;BR /&gt;File "/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py", line 105, in _ansiballz_main&lt;BR /&gt;invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)&lt;BR /&gt;File "/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py", line 48, in invoke_module&lt;BR /&gt;imp.load_module('__main__', mod, module, MOD_DESC)&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 391, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 387, in main&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 353, in apply&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py", line 344, in asup_log_for_cserver&lt;BR /&gt;File "/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/ansible_na_ontap_aggregate_payload.zip/ansible/module_utils/netapp.py", line 268, in get_cserver&lt;BR /&gt;File "/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py", line 290, in invoke_successfully&lt;BR /&gt;raise NaApiError(code, msg)&lt;BR /&gt;netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported.&lt;/P&gt;
&lt;P&gt;fatal: [localhost]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py\", line 113, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1552932185.2-107080005953841/AnsiballZ_na_ontap_aggregate.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 391, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 387, in main\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 353, in apply\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/__main__.py\", line 344, in asup_log_for_cserver\n File \"/tmp/ansible_na_ontap_aggregate_payload_fnpAZ0/ansible_na_ontap_aggregate_payload.zip/ansible/module_utils/netapp.py\", line 268, in get_cserver\n File \"/usr/lib/python2.6/site-packages/netapp_lib/api/zapi/zapi.py\", line 290, in invoke_successfully\n raise NaApiError(code, msg)\nnetapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported.\n",&lt;BR /&gt;"module_stdout": "",&lt;BR /&gt;"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",&lt;BR /&gt;"rc": 1&lt;BR /&gt;}&lt;BR /&gt;to retry, use: --limit @/first.retry&lt;/P&gt;
&lt;P&gt;PLAY RECAP **********************************************************************************************************************&lt;BR /&gt;localhost : ok=1 changed=0 unreachable=0 failed=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am using the below programme&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- hosts: localhost&lt;BR /&gt;tasks:&lt;BR /&gt;- name: Manage Aggregates&lt;BR /&gt;na_ontap_aggregate:&lt;BR /&gt;state: present&lt;BR /&gt;name: ansibleAggr&lt;BR /&gt;disk_count: 4&lt;BR /&gt;hostname: "192.168.0.101"&lt;BR /&gt;username: "username"&lt;BR /&gt;password: "password"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 18:08:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147254#M2892</guid>
      <dc:creator>pamo</dc:creator>
      <dc:date>2019-03-18T18:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: netapp API issue in ansible</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147261#M2893</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;NaApiError: NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;"msg": "NetApp API failed. Reason - 13010:Version 1.110 was requested, but only 1.100 is supported."&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This is your main error and that looks like because of ONTAP version issue. This is neither ansible issue not a python issue. For test purpose you can test same with ZEDI using same api.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read in ansible documentation for this module&amp;nbsp;&lt;/P&gt;
&lt;UL class="simple"&gt;
&lt;LI&gt;A physical or virtual clustered Data ONTAP system. The modules were developed with Clustered Data ONTAP 9.3&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://docs.ansible.com/ansible/latest/modules/na_ontap_aggregate_module.html#na-ontap-aggregate-module" target="_blank"&gt;https://docs.ansible.com/ansible/latest/modules/na_ontap_aggregate_module.html#na-ontap-aggregate-module&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest to upgrade to minimum 9.3.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 20:16:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/147261#M2893</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2019-03-18T20:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: netapp API issue in ansible</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/161022#M3097</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Need help with the below code , getting the below error , is this a firewall issue ?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;hosts&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;localhost&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;collections&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;netapp.ontap&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;Volume Action&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;vars&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;hostname&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"a.b.c.d"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;vserver&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;svm_netapptestcvo07&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;aggr&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;aggr1&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;vol_name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;ansibleVolTest&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;netapp_username&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;admin&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;netapp_password&lt;/SPAN&gt;&lt;SPAN&gt;: ******&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;tasks&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;Understand the data&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;debug&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;msg&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"The username {{ netapp_username }} has got the details xyz {{ netapp_password }} vbz"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;Volume Create&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;na_ontap_volume&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;state&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;present&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ vol_name }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;vserver&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ vserver }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;aggregate_name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ aggr }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;size&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;size_unit&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;gb&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;policy&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;default&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;#junction_path: "/{{ vol_name }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;hostname&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ hostname }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;username&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ netapp_username }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;password&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"{{ netapp_password }}"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;https&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;validate_certs&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;.........&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;BR /&gt;"exception": "Traceback (most recent call last):\n File \"/tmp/ansible_na_ontap_volume_payload_wYE289/ansible_na_ontap_volume_payload.zip/ansible/modules/storage/netapp/na_ontap_volume.py\", line 535, in volume_get_iter\n File \"/var/lib/awx/venv/ansible/lib/python2.7/site-packages/netapp_lib/api/zapi/zapi.py\", line 292, in invoke_successfully\n result = self.invoke_elem(na_element, enable_tunneling)\n File \"/var/lib/awx/venv/ansible/lib/python2.7/site-packages/netapp_lib/api/zapi/zapi.py\", line 272, in invoke_elem\n raise NaApiError(msg, error)\nNaApiError: NetApp API failed. Reason - URL error:URLError(error(110, 'Connection timed out'),)\n",&lt;BR /&gt;"_ansible_no_log": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"comment": null,&lt;BR /&gt;"space_slo": null,&lt;BR /&gt;"unix_permissions": null,&lt;BR /&gt;"size": 1,&lt;BR /&gt;"aggr_list": null,&lt;BR /&gt;"encrypt": false,&lt;BR /&gt;"wait_for_completion": false,&lt;BR /&gt;"tiering_policy": null,&lt;BR /&gt;"hostname": "10.**.**.**",&lt;BR /&gt;"snapdir_access": null,&lt;BR /&gt;"size_unit": "gb",&lt;BR /&gt;"vserver": "svm_netapptestcvo07",&lt;BR /&gt;"state": "present",&lt;BR /&gt;"qos_policy_group": null,&lt;BR /&gt;"https": false,&lt;BR /&gt;"vserver_dr_protection": null,&lt;BR /&gt;"policy": "default",&lt;BR /&gt;"auto_provision_as": null,&lt;BR /&gt;"aggregate_name": "aggr1",&lt;BR /&gt;"aggr_list_multiplier": null,&lt;BR /&gt;"username": "admin",&lt;BR /&gt;"from_name": null,&lt;BR /&gt;"is_infinite": false,&lt;BR /&gt;"atime_update": null,&lt;BR /&gt;"qos_adaptive_policy_group": null,&lt;BR /&gt;"http_port": null,&lt;BR /&gt;"is_online": true,&lt;BR /&gt;"ontapi": null,&lt;BR /&gt;"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",&lt;BR /&gt;"efficiency_policy": null,&lt;BR /&gt;"volume_security_style": "mixed",&lt;BR /&gt;"name": "ansibleVolTest",&lt;BR /&gt;"language": null,&lt;BR /&gt;"type": null,&lt;BR /&gt;"percent_snapshot_space": null,&lt;BR /&gt;"space_guarantee": null,&lt;BR /&gt;"junction_path": null,&lt;BR /&gt;"snapshot_policy": null,&lt;BR /&gt;"time_out": 180,&lt;BR /&gt;"validate_certs": false,&lt;BR /&gt;"use_rest": "Auto",&lt;BR /&gt;"nvfail_enabled": null&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"changed": false,&lt;BR /&gt;"msg": "Error fetching volume ansibleVolTest : NetApp API failed. Reason - URL error:URLError(error(110, 'Connection timed out'),)"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Nov 2020 21:17:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/netapp-API-issue-in-ansible/m-p/161022#M3097</guid>
      <dc:creator>rajpalem1</dc:creator>
      <dc:date>2020-11-06T21:17:53Z</dc:date>
    </item>
  </channel>
</rss>

