The NetApp driver eventually fails during the share replica update routine, after a snapmirror resync operation, returning "Another transfer is in progress". The share goes to Error right after being created by tempest tests. This issue is often seen when the replica update interval is set to a value around 10 seconds.
The error returned by the NetApp ONTAP is the following:
manila-share[23252]: ERROR manila.share.drivers.netapp.dataontap.cluster_mode.lib_base [None req-139d6c40-76d8-4294-b216-b4c1e5aec83d None None] Could not resync snapmirror.: manila.share.drivers.netapp.dataontap.client.api.NaApiError: NetApp API failed. Reason - 17131:Another transfer is in progress.
The error seems to be related to the snapmirror-status returned by the last query:
manila-share[23252]: DEBUG manila.share.drivers.netapp.dataontap.client.api [None req-139d6c40-76d8-4294-b216-b4c1e5aec83d None None] Response: b'<results xmlns="http://www.netapp.com/filer/admin" status="passed">\n <attributes-list>\n <snapmirror-info>\n <destination-location>os_0c0372e8-228a-4aa6-a865-9c394babeb22:share_2727fcc1_bdc7_416a_9d6f_50fd7bcb21b1</destination-location>\n <destination-volume>share_2727fcc1_bdc7_416a_9d6f_50fd7bcb21b1</destination-volume>\n <destination-vserver>os_0c0372e8-228a-4aa6-a865-9c394babeb22</destination-vserver>\n <mirror-state>uninitialized</mirror-state>\n <relationship-status>finalizing</relationship-status>\n <source-location>os_a7489ba9-55c0-4b3e-a016-e8ac05072f35:share_e3597f01_1b88_4bf3_bca8_53e83f647a15</source-location>\n <source-volume>share_e3597f01_1b88_4bf3_bca8_53e83f647a15</source-volume>\n <source-vserver>os_a7489ba9-55c0-4b3e-a016-e8ac05072f35</source-vserver>\n </snapmirror-info>\n </attributes-list>\n <num-records>1</num-records>\n</results>\n' {{(pid=24223) invoke_elem /opt/stack/new/manila/manila/share/drivers/netapp/dataontap/client/api.py:263}}
Fix proposed to branch: master /review. opendev. org/693082
Review: https:/