commit fed660c1189fdf4159d97badfdc8c5b35ad14f23
Author: Dan Smith <email address hidden>
Date: Mon Nov 20 13:24:24 2017 -0800
Fix doubling allocations on rebuild
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). This fixes the subsequent doubling
of allocations that will occur by skipping the claim process if
a policy-only scheduler check is being performed.
Reviewed: https:/ /review. openstack. org/523214 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fed660c1189 fdf4159d97badfd c8c5b35ad14f23
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit fed660c1189fdf4 159d97badfdc8c5 b35ad14f23
Author: Dan Smith <email address hidden>
Date: Mon Nov 20 13:24:24 2017 -0800
Fix doubling allocations on rebuild
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). This fixes the subsequent doubling
of allocations that will occur by skipping the claim process if
a policy-only scheduler check is being performed.
Closes-Bug: #1732976
Related-CVE: CVE-2017-17051
Related-OSSA: OSSA-2017-006
NOTE(mriedem): This change removes the Pike-only workaround 51e08157e149e0c bd0c5047be.
added in 234ade29a39cf2d
Change-Id: I8a9157bc76ba10 68ab966c4abdbb1 47c500604a8 bea5d8e0a017fd9 d0914d41d9)
(cherry picked from commit 25a1d78e83065c5