Go to file
Eric Fried b214dfc419 Raise on API errors getting aggregates/traits
Previously in the SchedulerReportClient, _get_provider_aggregates and
_get_provider_traits would log a warning and return None on placement
API errors.  The callers were ignoring these errors, resulting in the
internal ProviderTree representation potentially being out of sync with
reality.

With this change set, these two methods raise exceptions on API errors.
As currently implemented, these errors will bubble up into the resource
tracker and compute manager in the same way as other unhandled
exceptions.  That is, they land in the trap in
update_available_resource_for_node, where they are logged and otherwise
ignored.

Why is this an improvement?  Because at least the routine that
encountered the error doesn't continue on as if nothing went wrong.  (We
could have dealt with this by having the callers check for None
explicitly, but this approach was deemed more rigorous and robust.)

Change-Id: I20fe0d895f61ec83759cf880a87238ecc43c08f5
blueprint: nested-resource-providers
2018-01-19 14:57:29 -06:00
2017-08-07 16:00:10 +01:00
2018-01-17 18:15:26 +00:00
2017-01-04 11:05:16 +00:00
2017-11-24 16:51:12 -05:00
2014-05-07 12:14:26 -07:00
2017-11-24 16:51:12 -05:00
2018-01-04 09:58:27 +00:00
2012-02-08 19:30:39 -08:00
2017-11-21 21:01:09 +01:00
2010-05-27 23:05:26 -07:00
2017-09-07 15:42:31 +02:00
2017-11-28 15:23:48 -05:00
2017-03-02 11:50:48 +00:00
2017-03-02 14:30:16 +08:00
2018-01-16 10:14:46 +00:00

Team and repository tags

image

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:

Description
OpenStack Compute (Nova)
Readme 1.7 GiB
Languages
Python 97.5%
Smarty 2.3%
Shell 0.2%