<?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 Question about using SnapMirror from ontap simulator by ansible in Simulator Discussions</title>
    <link>https://community.netapp.com/t5/Simulator-Discussions/Question-about-using-SnapMirror-from-ontap-simulator-by-ansible/m-p/163175#M2674</link>
    <description>&lt;P&gt;I am trying to execute TR-4798 (Oct 2020) SnapMirror sample (page 76). I failed to execute airflow sample.&lt;/P&gt;&lt;P&gt;So I break down to ansible with snapmirror operation. But still failed.&lt;/P&gt;&lt;P&gt;Is there any idea to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I execute following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ansible-playbook snapmirror-update.yaml&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;---
- name: "Trigger SnapMirror Update"
  hosts: localhost
  tasks:
  - name: update snapmirror
    na_ontap_snapmirror:
      state: present
      source_path: 'svm0:airflow_clone_20210121_090845'
      destination_path: 'svm0:airflow_clone_20210121_090905'
      hostname: '172.16.28.131'
      username: 'admin'
      password: 'ontapsim0'
      https: 'yes'
      validate_certs: 'False'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is&amp;nbsp; it seems http connection error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'

PLAY [Trigger SnapMirror Update] ***********************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [update snapmirror] *******************************************************
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 - URL error:URLError(OSError('Tunnel connection failed: 503 Service Unavailable',),)
fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "msg": "Error fetching snapmirror info: NetApp API failed. Reason - URL error:URLError(OSError('Tunnel connection failed: 503 Service Unavailable',),)"}

PLAY RECAP *********************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current volume is follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20210122_ontap_vol.PNG" style="width: 727px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/10807iB1BB33397374F337/image-size/large?v=v2&amp;amp;px=999" role="button" title="20210122_ontap_vol.PNG" alt="20210122_ontap_vol.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:38:02 GMT</pubDate>
    <dc:creator>shypervisor</dc:creator>
    <dc:date>2025-06-04T10:38:02Z</dc:date>
    <item>
      <title>Question about using SnapMirror from ontap simulator by ansible</title>
      <link>https://community.netapp.com/t5/Simulator-Discussions/Question-about-using-SnapMirror-from-ontap-simulator-by-ansible/m-p/163175#M2674</link>
      <description>&lt;P&gt;I am trying to execute TR-4798 (Oct 2020) SnapMirror sample (page 76). I failed to execute airflow sample.&lt;/P&gt;&lt;P&gt;So I break down to ansible with snapmirror operation. But still failed.&lt;/P&gt;&lt;P&gt;Is there any idea to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I execute following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ansible-playbook snapmirror-update.yaml&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;---
- name: "Trigger SnapMirror Update"
  hosts: localhost
  tasks:
  - name: update snapmirror
    na_ontap_snapmirror:
      state: present
      source_path: 'svm0:airflow_clone_20210121_090845'
      destination_path: 'svm0:airflow_clone_20210121_090905'
      hostname: '172.16.28.131'
      username: 'admin'
      password: 'ontapsim0'
      https: 'yes'
      validate_certs: 'False'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is&amp;nbsp; it seems http connection error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'

PLAY [Trigger SnapMirror Update] ***********************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [update snapmirror] *******************************************************
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 - URL error:URLError(OSError('Tunnel connection failed: 503 Service Unavailable',),)
fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "msg": "Error fetching snapmirror info: NetApp API failed. Reason - URL error:URLError(OSError('Tunnel connection failed: 503 Service Unavailable',),)"}

PLAY RECAP *********************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current volume is follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20210122_ontap_vol.PNG" style="width: 727px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/10807iB1BB33397374F337/image-size/large?v=v2&amp;amp;px=999" role="button" title="20210122_ontap_vol.PNG" alt="20210122_ontap_vol.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:38:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Simulator-Discussions/Question-about-using-SnapMirror-from-ontap-simulator-by-ansible/m-p/163175#M2674</guid>
      <dc:creator>shypervisor</dc:creator>
      <dc:date>2025-06-04T10:38:02Z</dc:date>
    </item>
  </channel>
</rss>

