NetApp ONTAP share delete operation can fail sometimes when is triggered
immediately after migration cancelation on a overloaded NetApp backend.
Migration cancelation invokes "abort_volume_move" which is an asynchronous
API. If share delete operation is requested immediately after call the
former API, it fails because the "abort_volume_move" is still in progress.
Now NetApp cDOT driver checks, for a period of time, if the
``volume-move-abort`` operation has ended before report migration
cancelation success.
This patch squash the following commit that improves the release note
for this fix:
[NetApp] Updating the release note for bugfix 1688620
(cherry picked from commit a0dd86a98788f7e2d1ca55be26c2a3dea4e36f57)
Change-Id: I76e11fef27c9723f019cfdfdc6ea86878db78776
Closes-Bug: #1688620
(cherry picked from commit 0ee414082318d22b3ed19acad6a479cb105c30e5)
Reviewed: https:/ /review. opendev. org/730383 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=71c3a08ead5 0e8aa68cef3a26c 8f8485922895b6
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 71c3a08ead50e8a a68cef3a26c8f84 85922895b6
Author: danielarthurt <email address hidden>
Date: Mon Apr 6 13:26:13 2020 +0000
[NetApp] Fix falsely report migration cancelation success
NetApp ONTAP share delete operation can fail sometimes when is triggered move-abort` ` operation has ended before report migration
immediately after migration cancelation on a overloaded NetApp backend.
Migration cancelation invokes "abort_volume_move" which is an asynchronous
API. If share delete operation is requested immediately after call the
former API, it fails because the "abort_volume_move" is still in progress.
Now NetApp cDOT driver checks, for a period of time, if the
``volume-
cancelation success.
This patch squash the following commit that improves the release note 2d1ca55be26c2a3 dea4e36f57)
for this fix:
[NetApp] Updating the release note for bugfix 1688620
(cherry picked from commit a0dd86a98788f7e
Change-Id: I76e11fef27c972 3f019cfdfdc6ea8 6878db78776 b3ed19acad6a479 cb105c30e5)
Closes-Bug: #1688620
(cherry picked from commit 0ee414082318d22