#snapmirror replication fails to create ONTAP/ONTAP on AWS FSX as it cant import solidfire.common

1 messages · Page 1 of 1 (latest)

red ermine
#

https://github.com/ansible-collections/netapp.ontap/blob/main/plugins/modules/na_ontap_snapmirror.py

I see the below error

File "/tmp/ansible_netapp.ontap.na_ontap_snapmirror_payload_Mp1w48/ansible_netapp.ontap.na_ontap_snapmirror_payload.zip/ansible_collections/netapp/ontap/plugins/modules/na_ontap_snapmirror.py", line 496, in <module>
ImportError: No module named solidfire.common

"msg": "Error creating SnapMirror: calling: snapmirror/relationships: got {u'message': u'Operation on the remote destination cluster is not supported.', u'code': u'13303895'}."

Task definition:

  • name: Create ONTAP/ONTAP SnapMirror
    netapp.ontap.na_ontap_snapmirror:
    state: present
    validate_certs: false
    use_rest: always
    source_endpoint:
    cluster: "{{ west_2_peer_cluster }}"
    path: "RPAWSFSXN_uswest2_svm1:RPAWSFSXN_volume1" #"{{ source_vserver + ':' + /mnt/shared/cloud* }}"
    svm: "{{ west_2_vserver }}"
    destination_endpoint:
    cluster: "{{ east_1_peer_cluster }}"
    path: "RPAWSFSXN_useast1_svm1:RPAWSFSXN_volume1" #" {{ west_2_vserver }} + ':' + " #"{{ destination_vserver_VOLDP + ':' + destination_volume }}"
    svm: "{{ east_1_vserver }}"
    schedule: "hourly" # ??? need to confirm RTO and set this accordingly ... 5 min ?
    policy: MirrorAllSnapshots
    #max_transfer_rate: 1000
    initialize: true
    username: "{{ fsxnadmin_username }}"
    password: "{{ dest_fsxn_password }}"
    hostname: "{{ dest_fsxn_mgmt_ip }}"
    peer_options:
    use_rest: always
    username: "{{ fsxnadmin_username }}"
    password: "{{ source_fsxn_password }}"
    hostname: "{{ source_fsxn_mgmt_ip }}"
    validate_certs: false
GitHub

Ansible collection to support NetApp ONTAP configuration. - ansible-collections/netapp.ontap