Hi everyone - question about na_ontap_snapmirror failing with a REST job timeout
I’m creating an SVM-DR relationship with the Ansible module netapp.ontap.na_ontap_snapmirror using REST. The task fails even though the relationship ends up in snapmirrored and the transfer completes.
Env (let me know if you need more):
- ONTAP: 9.16.1P8
- netapp.ontap collection: 22.14.0
Playbook snippet:
- name: Configure SnapMirror (SVM-DR)
netapp.ontap.na_ontap_snapmirror:
state: present
source_endpoint:
path: "{{ vserver_name + ':' }}"
destination_endpoint:
path: "{{ dr_vserver_name + ':' }}"
policy: "NVS_MirrorAndVault_Skip_Net"
identity_preservation: "exclude_network_config"
initialize: true
update: true
relationship_state: active
hostname: "{{ dr_cluster_fqdn }}"
username: "{{ dr_username }}"
password: "{{ dr_password }}"
https: true
validate_certs: true
use_rest: Always
Error returned by the module (AAP output):
Error patching SnapMirror: {'state': 'snapmirrored'}; job reported error:
Timeout error: Process still running, received {'job': {'uuid': 'd7f3aeb9-beff-11f0-9513-d039ea129b17',
'_links': {'self': {'href': '/api/cluster/jobs/d7f3aeb9-beff-11f0-9513-d039ea129b17'}}}}