
The CachingScheduler doesn't create allocations in placement so when prep_resize fails and it tries to revert allocations, the _revert_allocation() method returns False and then prep_resize calls delete_allocation_for_failed_resize() which since change I7891b98f225f97ad47f189afb9110ef31c810717 has taken a context argument, but that's not being passed so it results in a TypeError. This fixes the TypeError and adds a functional test case which runs a resize reschedule scenario with the CachingScheduler. Change-Id: I0ec0c2d3f7ef8d2274b97a28a175d53921edc9db Closes-Bug: #1781100
Team and repository tags
OpenStack Nova
OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of compute technologies, including: libvirt (KVM, Xen, LXC and more), Hyper-V, VMware, XenServer, OpenStack Ironic and PowerVM.
Use the following resources to learn more.
API
To learn how to use Nova's API, consult the documentation available online at:
For more information on OpenStack APIs, SDKs and CLIs in general, refer to:
Operators
To learn how to deploy and configure OpenStack Nova, consult the documentation available online at:
In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:
Developers
For information on how to contribute to Nova, please see the contents of the CONTRIBUTING.rst.
Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.
Further developer focused documentation is available at:
Other Information
During each Summit and Project Team Gathering, we agree on what the whole community wants to focus on for the upcoming release. The plans for nova can be found at: