diff options
author | Dan Smith <danms@us.ibm.com> | 2013-01-03 09:17:17 -0800 |
---|---|---|
committer | Dan Smith <danms@us.ibm.com> | 2013-01-04 08:37:13 -0800 |
commit | d22b0ca2402d9625cea7460050e3fc77e7e2ea85 (patch) | |
tree | 67516c35b22edba479479afa2f0144e5cc665412 /nova/exception.py | |
parent | 269aa32a09af6200b4cafecf1cafb8ca34322b04 (diff) | |
download | nova-d22b0ca2402d9625cea7460050e3fc77e7e2ea85.tar.gz nova-d22b0ca2402d9625cea7460050e3fc77e7e2ea85.tar.xz nova-d22b0ca2402d9625cea7460050e3fc77e7e2ea85.zip |
Move instance_get_*() to conductor
This patch adds conductor support for instance_get_all_by_filters(),
and supports the following APIs through that method:
- instance_get_all()
- instance_get_all_by_host()
- instance_get_all_by_filters()
Further, it adds support for the following APIs:
- instance_get_all_hung_in_rebooting()
- instance_get_active_by_window()
It also makes compute/manager use conductor for these operations, with
one exception. Currently, ComputeManager.init_host () lists all
instances associated with the host, which may happen before a conductor
service is available. This will be handled separately due to the
sequencing concerns.
Related to bp/no-db-compute-manager
Change-Id: I0dd346fd632aa15cd301386bc392502b95709529
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions