#na_ontap_snapmirror crashes on a overloaded ONTAP cluster

1 messages · Page 1 of 1 (latest)

hidden burrow
#

During snapmirror create operation, module fails with the following output:

TASK [ontap/snapmirror : Create snapmirror  ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'NoneType' object is not subscriptable

I expect this is due to system is not able to create a relationship within expected rest timeouts/retries or returning empty json object. Issue hard to reproduce, task works 7-8 times out of 10, retry usually help. Would be doubling snapmirror_rest_create timeout from 120 to 240 be a solution or ideally, rest_generic should handle empty JSON response cases?