Share task_state was set to migration_success
before completing migration. There was still
updates to the share model to be performed
before completing.
Also, small refactoring in host-assisted
migration's migration_complete that was not
setting the task_state migration_completing
at the proper time, allowing a bigger window
for 2 concurrent migration_complete calls.
Commit 41813736718e2b81d1d907bf49feb1940c1e990f in master
introduced bug 1667450, so we are including partial commit
fae08f97f17b3dc6dfaa8df7679660707c518c3a (except release-notes),
squashing it into this fix.
Change-Id: I88df15446ffe34f3f12770d53c3e03d232f495c2
Closes-bug: #1665072
(cherry picked from commit 41813736718e2b81d1d907bf49feb1940c1e990f)
Reviewed: https:/ /review. openstack. org/435424 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=d635fffd210 9bc98000624e08a 2f3e606dca3dad
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit d635fffd2109bc9 8000624e08a2f3e 606dca3dad
Author: Rodrigo Barbieri <email address hidden>
Date: Wed Feb 15 16:41:34 2017 -0200
Fix migration_success before completing
Share task_state was set to migration_success
before completing migration. There was still
updates to the share model to be performed
before completing.
Also, small refactoring in host-assisted completing
migration's migration_complete that was not
setting the task_state migration_
at the proper time, allowing a bigger window
for 2 concurrent migration_complete calls.
Commit 41813736718e2b8 1d1d907bf49feb1 940c1e990f in master b3dc6dfaa8df767 9660707c518c3a (except release-notes),
introduced bug 1667450, so we are including partial commit
fae08f97f17
squashing it into this fix.
Change-Id: I88df15446ffe34 f3f12770d53c3e0 3d232f495c2 1d1d907bf49feb1 940c1e990f)
Closes-bug: #1665072
(cherry picked from commit 41813736718e2b8