nova/nova/scheduler
Brian Elliott 284f6ea64b Set instance host field after resource claim
Set the 'host' field on the instance after the resource tracker
on the compute node has accepted the build.

The field is set after resources are confirmed to be available while the
COMPUTE_RESOURCES_SEMAPHORE is held.  The semaphore ensures the
resources usage values will be consistent even if the
update_available_resource periodic task audit runs.

bug 1060255

(cherry picked from commit 5fd7a9dba1)

Also includes the following bugfix to the original patch:

Set host prior to allocating network information.

Make sure 'host' field on the instance is set before allocating
network information.

bug 1065004

(cherry picked from commit 2649f14673)
Change-Id: I92105ec14924960ac8ef7ca8c810783085314e10
2012-11-21 11:30:47 -08:00
..
filters Fix bugs in resource tracker and cleanup 2012-09-19 22:19:18 -07:00
__init__.py Fix OpenStack Capitalization 2012-03-15 16:10:53 -07:00
chance.py Set instance host field after resource claim 2012-11-21 11:30:47 -08:00
driver.py Set instance host field after resource claim 2012-11-21 11:30:47 -08:00
filter_scheduler.py Set instance host field after resource claim 2012-11-21 11:30:47 -08:00
host_manager.py Eliminates simultaneous schedule race. 2012-11-20 14:34:00 -08:00
least_cost.py update compute_fill_first_cost_fn docstring 2012-07-24 15:59:52 -04:00
manager.py Set volume status to error if scheduling fails. 2012-09-21 13:26:38 -07:00
multi.py Remove scheduler RPC API version 1.x 2012-08-29 20:54:49 +01:00
rpcapi.py Update quota when deleting volume that failed to be scheduled 2012-09-18 17:29:21 -04:00
scheduler_options.py Switch to common logging. 2012-07-02 15:57:09 -05:00
simple.py Update quota when deleting volume that failed to be scheduled 2012-09-18 17:29:21 -04:00