<?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: Something wrong with Ansible setup? in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/151977#M2970</link>
    <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to online the volume before it can be mounted. I've posted a playbook example here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/API-to-mount-existing-volume/m-p/151967/highlight/false#M18" href="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/API-to-mount-existing-volume/m-p/151967/highlight/false#M18" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/API-to-mount-existing-volume/m-p/151967/highlight/false#M18&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 02:14:37 GMT</pubDate>
    <dc:creator>mbeattie</dc:creator>
    <dc:date>2019-10-25T02:14:37Z</dc:date>
    <item>
      <title>Something wrong with Ansible setup?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/145269#M2788</link>
      <description>&lt;P&gt;Trying to create my first playbook and I am getting the following error on a volume create:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;File "/tmp/ansible_na_cdot_volume_payload_XLT_EQ/__main__.py", line 279, in create_volume&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; enable_tunneling=True)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; File "/data/readwrite/ansible/netapp/lib/python2.7/site-packages/netapp_lib/api/zapi/zapi.py", line 290, in invoke_successfully&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise NaApiError(code, msg)&lt;/P&gt;
&lt;P&gt;NaApiError: NetApp API failed. Reason - 15661:entry doesn't exist&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"msg": "Error provisioning volume test1 of size 20971520: NetApp API failed. Reason - 15661:entry doesn't exist"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this mean I am missing an entry for one of the variables in the na_cdot_volume module?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:03:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/145269#M2788</guid>
      <dc:creator>benpielaml</dc:creator>
      <dc:date>2025-06-04T13:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Something wrong with Ansible setup?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/145308#M2791</link>
      <description>&lt;P&gt;If you're just starting out I suggest you use the na_ontap_* modules - they are the latest and contiously updated with each release of the Ansible distribution.&amp;nbsp; Also, read the Ansible 5-part article by David Blackwell on netapp.io and you'll be off and running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://netapp.io/2018/10/08/getting-started-with-netapp-and-ansible-install-ansible/" target="_blank"&gt;https://netapp.io/2018/10/08/getting-started-with-netapp-and-ansible-install-ansible/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://netapp.io/2018/10/09/getting-started-with-netapp-and-ansible-updating-netapp-modules/" target="_blank"&gt;https://netapp.io/2018/10/09/getting-started-with-netapp-and-ansible-updating-netapp-modules/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://netapp.io/2018/10/10/getting-started-with-netapp-and-ansible-understanding-playbooks/" target="_blank"&gt;https://netapp.io/2018/10/10/getting-started-with-netapp-and-ansible-understanding-playbooks/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://netapp.io/2018/10/11/getting-started-with-netapp-and-ansible-first-playbook-example/" target="_blank"&gt;https://netapp.io/2018/10/11/getting-started-with-netapp-and-ansible-first-playbook-example/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://netapp.io/2018/10/12/getting-started-with-netapp-and-ansible-complete-workflow/" target="_blank"&gt;https://netapp.io/2018/10/12/getting-started-with-netapp-and-ansible-complete-workflow/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also a Slack channel - just follow the link at the top of netapp.io.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 15:39:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/145308#M2791</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2018-12-10T15:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Something wrong with Ansible setup?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/145326#M2794</link>
      <description>&lt;P&gt;Gotta question on the basic "na_ontap_volume" module.&amp;nbsp; I see that I can make changes to existing variables like size and run the playbook and the volume size is changed.&amp;nbsp; What about the junction-path?&amp;nbsp; I ran the playbook first without the junction-path variable set and the volume was created.&amp;nbsp; Then, I added the junction_path variable and the volume did not mount. If I create a new volume with the junction_path variable, it does mount.&amp;nbsp; Is this the way it is supposed to work?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:07:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/145326#M2794</guid>
      <dc:creator>benpielaml</dc:creator>
      <dc:date>2018-12-11T17:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Something wrong with Ansible setup?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/151977#M2970</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to online the volume before it can be mounted. I've posted a playbook example here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/API-to-mount-existing-volume/m-p/151967/highlight/false#M18" href="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/API-to-mount-existing-volume/m-p/151967/highlight/false#M18" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/API-to-mount-existing-volume/m-p/151967/highlight/false#M18&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 02:14:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/151977#M2970</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2019-10-25T02:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Something wrong with Ansible setup?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/151979#M2971</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a basic example of creating a mounted volume...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;---
- hosts: localhost
  gather_facts: false
  name: Create Volume
  vars:
    login: &amp;amp;login
      hostname: cluster1.testlab.local
      username: ansible
      password: N0tMyP@ssw0rd!
      https: true
      validate_certs: false
    vserver: vserver1
    volume: volume1
    aggregate: node1_aggr1
    size: 10
  tasks:
  - name: Create Volume
    na_ontap_volume:
      state: present
      is_online: yes
      name: "{{ volume }}"
      aggregate_name: "{{ aggregate }}"
      size: "{{ size }}"
      size_unit: gb
      space_guarantee: none
      policy: default
      percent_snapshot_space: 0
      vserver: "{{ vserver }}"
      volume_security_style: unix
      wait_for_completion: true
      junction_path: "{{ '/' + volume }}"
      &amp;lt;&amp;lt;: *login&lt;/PRE&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 03:53:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Something-wrong-with-Ansible-setup/m-p/151979#M2971</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2019-10-25T03:53:07Z</dc:date>
    </item>
  </channel>
</rss>

