commit 09e169bd7a74deaf52d9d6d38ff37799cab24157
Author: Jay Pipes <email address hidden>
Date: Mon Aug 7 16:36:49 2017 -0400
placement: refactor healing of allocations in RT
Updates the RT method for "healing" instance allocations so that we
only delete allocations (and delete them entirely for an instance) in
the event that the instance has been local-deleted. Adds log statements
to the method to give us a good idea of what the state of various
things are during test runs.
Note that this patch only partially fixes LP #1707071 to remove some of
the back-and-forth allocation trampling that was going on for move
operations. The next patch adds the final piece of the puzzle which is
to have the confirm/revert resize step on the source or destination
compute host *correct* a doubled-up allocation. What this patch does is
prevent the healing function from deleting allocations unless the
instance is local-deleted.
Reviewed: https:/ /review. openstack. org/491850 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=09e169bd7a7 4deaf52d9d6d38f f37799cab24157
Committed: https:/
Submitter: Jenkins
Branch: master
commit 09e169bd7a74dea f52d9d6d38ff377 99cab24157
Author: Jay Pipes <email address hidden>
Date: Mon Aug 7 16:36:49 2017 -0400
placement: refactor healing of allocations in RT
Updates the RT method for "healing" instance allocations so that we
only delete allocations (and delete them entirely for an instance) in
the event that the instance has been local-deleted. Adds log statements
to the method to give us a good idea of what the state of various
things are during test runs.
Note that this patch only partially fixes LP #1707071 to remove some of
the back-and-forth allocation trampling that was going on for move
operations. The next patch adds the final piece of the puzzle which is
to have the confirm/revert resize step on the source or destination
compute host *correct* a doubled-up allocation. What this patch does is
prevent the healing function from deleting allocations unless the
instance is local-deleted.
Partial-bug: #1707071
Change-Id: Ia0bb32fd92ae72 3c505d0fce5691e 0fe0540f10d