commit cacfd372acb4eb056c4391db3c988bfe91c957df
Author: Matt Riedemann <email address hidden>
Date: Fri Nov 17 13:17:16 2017 -0500
Add regression test for rebuild with new image doubling allocations
Commit 984dd8ad6add4523d93c7ce5a666a32233e02e34 makes a rebuild
with a new image go through the scheduler again to validate the
image against the instance.host (we rebuild to the same host that
the instance already lives on).
The problem is that change introduced a regression where the
FilterScheduler is going to think it's doing a resize to the same
host and double the allocations for the instance (and usage for the
compute node provider) in Placement, which is wrong since the
flavor is the same.
Reviewed: https:/ /review. openstack. org/521153 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cacfd372acb 4eb056c4391db3c 988bfe91c957df
Committed: https:/
Submitter: Zuul
Branch: master
commit cacfd372acb4eb0 56c4391db3c988b fe91c957df
Author: Matt Riedemann <email address hidden>
Date: Fri Nov 17 13:17:16 2017 -0500
Add regression test for rebuild with new image doubling allocations
Commit 984dd8ad6add452 3d93c7ce5a666a3 2233e02e34 makes a rebuild
with a new image go through the scheduler again to validate the
image against the instance.host (we rebuild to the same host that
the instance already lives on).
The problem is that change introduced a regression where the
FilterScheduler is going to think it's doing a resize to the same
host and double the allocations for the instance (and usage for the
compute node provider) in Placement, which is wrong since the
flavor is the same.
This adds a regression test to show the bug.
Change-Id: Ie0949b4e6101f0 b29ec4542146d52 3a07a683991
Related-Bug: #1664931