#Snapmirror fails sometimes with [WARNING]: SnapMirror relationship is still transferring after 300 s

1 messages · Page 1 of 1 (latest)

tired jay
#

Hi, my code fails sometimes when during creation of new snapmirror relationship (could happen in existing relationship as well) if state is transferring and not idle.
this is the error message i get (for new relationships) :
: "Error patching SnapMirror: {'state': 'snapmirrored'}: job reported error: Timeout error: Process still running, received {'job': {'uuid': '', '_links': {'self': {'href': '/api/cluster/jobs/'}}}}.", "vol": {"xxxxxxxxxxxxxxxxxx}}
[WARNING]: SnapMirror relationship is still transferring after 300 seconds.

i could see an article : https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_wait_for_condition_module.html
this is something which could be used to fix this issue but i'm not getting its syntax to work for snapmirror. If anyone has used this please help.