#na_ontap_vserver_peer not accepting from dr

1 messages · Page 1 of 1 (latest)

simple zinc
#

When I use this module in my customer's environment, it stays in "initiated" state at source and "pending" at dr . We have to always manually give an accept from dr via cli.

scenic remnant
#

Could you share with us the playbook your using and what version of the collection your using

simple zinc
#

Sure,
Ansible collection version : netapp.ontap 21.14.0
ansible [core 2.13.2]

netapp.ontap.na_ontap_vserver_peer:
state: "{{ state }}"
peer_vserver: "{{ peer.peer_vserver }}"
peer_cluster: "{{ peer.peer_cluster }}"
vserver: "{{ peer.vserver }}"
applications: "{{ peer.applications }}"
peer_options:
hostname: "{{ peer.destination_cluster }}"
local_name_for_peer: "{{ peer.local_name_for_peer | default(omit) }}"
local_name_for_source: "{{ peer.local_name_for_source | default(omit) }}"
use_rest: "{{ peer.use_rest | default(use_rest) }}"
hostname: "{{ peer.cluster }}"
username: "{{ ontap_username | default(omit) }}"
password: "{{ ontap_password | default(omit) }}"
key_filepath: "{{ key_filepath | default(omit) }}"
cert_filepath: "{{ cert_filepath | default(omit) }}"
validate_certs: "{{ validate_certs }}"
https: "{{ https }}"
http_port: "{{ http_port }}"

cold grotto
#

latest version should work, this issue got fixed in 21.18.0

module will report an error if SVM peer does not see a peering relationship after create.