Simulator Discussions

Question about using SnapMirror from ontap simulator by ansible


I am trying to execute TR-4798 (Oct 2020) SnapMirror sample (page 76). I failed to execute airflow sample.

So I break down to ansible with snapmirror operation. But still failed.

Is there any idea to solve this problem?


I execute following code.


ansible-playbook snapmirror-update.yaml 


- name: "Trigger SnapMirror Update"
  hosts: localhost
  - name: update snapmirror
      state: present
      source_path: 'svm0:airflow_clone_20210121_090845'
      destination_path: 'svm0:airflow_clone_20210121_090905'
      hostname: ''
      username: 'admin'
      password: 'ontapsim0'
      https: 'yes'
      validate_certs: 'False'


The output is  it seems http connection error.


[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! => {"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


The current volume is follows



Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner