commit b5ea0d1231009ba1f4a9ba87ecfc05e489c4017f
Author: Matt Riedemann <email address hidden>
Date: Thu Aug 31 12:30:15 2017 -0400
Refactor out claim_resources_on_destination into a utility
We need this method for a similar fix in evacuate, so this
change pulls the method out of the LiveMigrationTask and moves
it into scheduler utils along with unit tests.
The only functional difference is that instead of raising
MigrationPreCheckError, it now raises NoValidHost, which for
live migration ends up being the same result when it's handled
in ComputeTaskManager.
Change-Id: Ie63a4798d420c39815e294843e02ab6473cfded2
Related-Bug: #1713786
(cherry picked from commit 34f8a351502418d30f137ad49e948802d6b2ab3c)
Reviewed: https:/ /review. openstack. org/503160 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b5ea0d12310 09ba1f4a9ba87ec fc05e489c4017f
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit b5ea0d1231009ba 1f4a9ba87ecfc05 e489c4017f
Author: Matt Riedemann <email address hidden>
Date: Thu Aug 31 12:30:15 2017 -0400
Refactor out claim_resources _on_destination into a utility
We need this method for a similar fix in evacuate, so this
change pulls the method out of the LiveMigrationTask and moves
it into scheduler utils along with unit tests.
The only functional difference is that instead of raising eCheckError, it now raises NoValidHost, which for
MigrationPr
live migration ends up being the same result when it's handled
in ComputeTaskManager.
Change-Id: Ie63a4798d420c3 9815e294843e02a b6473cfded2 30f137ad49e9488 02d6b2ab3c)
Related-Bug: #1713786
(cherry picked from commit 34f8a351502418d