<?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 Ansible netapp NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1', in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159748#M3085</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;I try to use Netapp Plugin for ansible and Get this error:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ansible netapp NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1',&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anybody help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my inventory:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[na2244]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;na2244.qs.de ansible_ssh_pass=netapp123 ansible_ssh_user=admin&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is the playbook:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;---&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- hosts: localhost&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;collections:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- netapp.ontap&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;name: Volume Action&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vars:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;hostname: na2244&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;username: admin&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;password: netapp123&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vserver: vserver1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;aggr: aggr1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vol_name: testvol&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;tasks:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- name: Volume Create&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;na_ontap_volume:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;state: present&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;name: “{{ vol_name }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vserver: “{{ vserver }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;aggregate_name: “{{ aggr }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;size: 10&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;size_unit: gb&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;policy: default&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;junction_path: “/{{ vol_name }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#hostname: “{{ hostname }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;hostname: “na2244.qs.de”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#username: “{{ username }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;username: “admin”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#password: “{{ password }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;password: “netapp123”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;https: true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;validate_certs: false&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:52:09 GMT</pubDate>
    <dc:creator>adminqskills</dc:creator>
    <dc:date>2025-06-04T10:52:09Z</dc:date>
    <item>
      <title>Ansible netapp NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1',</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159748#M3085</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;I try to use Netapp Plugin for ansible and Get this error:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ansible netapp NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1',&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anybody help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my inventory:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[na2244]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;na2244.qs.de ansible_ssh_pass=netapp123 ansible_ssh_user=admin&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is the playbook:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;---&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- hosts: localhost&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;collections:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- netapp.ontap&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;name: Volume Action&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vars:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;hostname: na2244&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;username: admin&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;password: netapp123&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vserver: vserver1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;aggr: aggr1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vol_name: testvol&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;tasks:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- name: Volume Create&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;na_ontap_volume:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;state: present&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;name: “{{ vol_name }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vserver: “{{ vserver }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;aggregate_name: “{{ aggr }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;size: 10&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;size_unit: gb&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;policy: default&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;junction_path: “/{{ vol_name }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#hostname: “{{ hostname }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;hostname: “na2244.qs.de”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#username: “{{ username }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;username: “admin”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#password: “{{ password }}”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;password: “netapp123”&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;https: true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;validate_certs: false&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:52:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159748#M3085</guid>
      <dc:creator>adminqskills</dc:creator>
      <dc:date>2025-06-04T10:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible netapp NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1',</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159759#M3087</link>
      <description>&lt;P&gt;That looks like an error caused by doing a copy-n-paste from a website - maybe a netapp.io article?&amp;nbsp; Spacing, indentation, EOL chars - YAML is sensitive to all of this (and more!).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Support for the NetApp Ansible modules is through Slack - channel (thepub#configurationmgmt channel).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suggest you go to netapp.io and click on the Slack Invite icon on the top right and then post your questions in the above mentioned channel.&amp;nbsp; You'll get your answers rather fast there &lt;span class="lia-unicode-emoji" title=":monkey_face:"&gt;🐵&lt;/span&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;</description>
      <pubDate>Mon, 28 Sep 2020 15:38:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159759#M3087</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2020-09-28T15:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible netapp NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1',</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159773#M3088</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;thank your for the reply and the hint to the other channl. Youre right it was about the&amp;nbsp; diffrent "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 05:35:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-netapp-NetApp-API-failed-Reason-Unexpected-error-UnicodeEncodeError/m-p/159773#M3088</guid>
      <dc:creator>adminqskills</dc:creator>
      <dc:date>2020-09-29T05:35:13Z</dc:date>
    </item>
  </channel>
</rss>

