diff options
| author | Arata Notsu <notsu@virtualtech.jp> | 2012-10-25 20:24:23 +0900 |
|---|---|---|
| committer | Arata Notsu <notsu@virtualtech.jp> | 2012-10-28 09:05:59 +0900 |
| commit | 9ac10f55e4b40ac496c20f56501e5aeffa196692 (patch) | |
| tree | 3532217bcf588bc15f9a23a1ed1d6efca615ddd9 /nova/openstack | |
| parent | fe8685cc2646d2f947a890f2013220995c78fa10 (diff) | |
| download | nova-9ac10f55e4b40ac496c20f56501e5aeffa196692.tar.gz nova-9ac10f55e4b40ac496c20f56501e5aeffa196692.tar.xz nova-9ac10f55e4b40ac496c20f56501e5aeffa196692.zip | |
Let scheduler know services' capabilities at startup
Fixes bug 1071254.
Changes:
* Add new rpc-api(fanout) of compute "publish_service_capabilities"
This rpc-api urges services to send its capabilites to the scheduler.
* Scheduler calls publish_service_capabilities right after the start
By them, the scheduler get to know the capabilities earlier.
Now we can expect that the scheduler always holds the capabilities. So it
is reasonable to change HostManager to ignore hosts whose capabilities are
"None" since it becomes a rare case; this will make scheduling more
reliable. This will achieved by Another patch.
Change-Id: If6582765011fd5e1b794bfdc068e17630ba381cb
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
