
Prior to this patch placement was using the nova FaultWrapper middleware as a final guard against unexpected exceptions. That middleware does more than required and also imports stuff that placement does not otherwise require. The new middleware is only for exceptions that have fallen through previous handling and need to be turned into 500 responses, formatted to JSON, and logged. While doing this it became clear that the limited Exception catching in handler.py was redundant if FaultWrapper and the Microversion middlewares (both required for the operation of the system) are involved, so that has been removed, with a comment. This should not require a microversion as the structure of successful responses and expected error responses does not change. What does change is that a 500 response will be formatted more as the api-wg errors guideline[1] desires. [1] http://specs.openstack.org/openstack/api-wg/guidelines/errors.html Change-Id: Ib2c3250b964a30239f298cdf13ea2020f205f67d Partial-Bug: #1743120
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: