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)
(cherry picked from commit 71c3a08ead50e8aa68cef3a26c8f8485922895b6)
(cherry picked from commit c915918f3c6ac608469263dd05e3f2b5eb61dc4e)
Reviewed: https:/ /review. opendev. org/743718 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=1199489d998 a729d7fcf7cf7f8 8ab34b6464d46b
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 1199489d998a729 d7fcf7cf7f88ab3 4b6464d46b
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) a68cef3a26c8f84 85922895b6) 8469263dd05e3f2 b5eb61dc4e)
Closes-Bug: #1688620
(cherry picked from commit 0ee414082318d22
(cherry picked from commit 71c3a08ead50e8a
(cherry picked from commit c915918f3c6ac60