<?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 user password change playbook  not working after few runs in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438807#M3227</link>
    <description>&lt;P&gt;When i initially run my playbook the password change playbook works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After few run of the playbook, i get the error below. What could be the issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 401:Unauthorized&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;collections:&lt;BR /&gt;- netapp.ontap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:56:40 GMT</pubDate>
    <dc:creator>Thiepaan</dc:creator>
    <dc:date>2025-06-04T09:56:40Z</dc:date>
    <item>
      <title>user password change playbook  not working after few runs</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438807#M3227</link>
      <description>&lt;P&gt;When i initially run my playbook the password change playbook works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After few run of the playbook, i get the error below. What could be the issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 401:Unauthorized&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;collections:&lt;BR /&gt;- netapp.ontap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:56:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438807#M3227</guid>
      <dc:creator>Thiepaan</dc:creator>
      <dc:date>2025-06-04T09:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: user password change playbook  not working after few runs</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438810#M3228</link>
      <description>&lt;P&gt;Unauthorized indicates either the username or password is not recognized or user is not authorized for ONTAPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found following kb, but I am not sure if that's applicable to your&amp;nbsp; issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Ansible_is_not_able_to_connect_to_ONTAP" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Ansible_is_not_able_to_connect_to_ONTAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To run Ansible modules over https the following lines need to be added to each modules arguments&lt;BR /&gt;https: true&lt;BR /&gt;validate_certs: false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 16:36:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438810#M3228</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-10-03T16:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: user password change playbook  not working after few runs</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438830#M3229</link>
      <description>&lt;P&gt;I used the following playbook which has the https and validate_certs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why it works on first few runs and then it fails with error above ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- name: Create/Change "{{ username }}" password&lt;BR /&gt;netapp.ontap.na_ontap_user:&lt;BR /&gt;state: present&lt;BR /&gt;name: "{{ username }}"&lt;BR /&gt;application_dicts:&lt;BR /&gt;- application: http&lt;BR /&gt;authentication_methods: password&lt;BR /&gt;- application: ontapi&lt;BR /&gt;authentication_methods: password&lt;BR /&gt;- application: service-processor&lt;BR /&gt;authentication_methods: password&lt;BR /&gt;- application: ssh&lt;BR /&gt;authentication_methods: password&lt;BR /&gt;role_name: "{{ role_name }}"&lt;BR /&gt;set_password: "{{ new_password }}"&lt;BR /&gt;vserver: "{{ cluster }}"&lt;BR /&gt;hostname: "{{ inventory_hostname }}"&lt;BR /&gt;username: "{{ username }}"&lt;BR /&gt;password: "{{ current_password }}"&lt;BR /&gt;lock_user: False&lt;BR /&gt;https: False&lt;BR /&gt;validate_certs: False&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 00:34:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/user-password-change-playbook-not-working-after-few-runs/m-p/438830#M3229</guid>
      <dc:creator>Thiepaan</dc:creator>
      <dc:date>2022-10-04T00:34:27Z</dc:date>
    </item>
  </channel>
</rss>

