]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add is_ready method to scheduler driver
authorMichal Dulko <michal.dulko@intel.com>
Thu, 12 Mar 2015 15:07:03 +0000 (16:07 +0100)
committerMichal Dulko <michal.dulko@intel.com>
Thu, 12 Mar 2015 15:07:03 +0000 (16:07 +0100)
commit9cf6e694a37149f2e1e7b70c51c82bab4f135057
tree1ac2b6d96ed416d7fa5a2818b7d5cb08bf0ac54b
parentf1bc4648f7300a0e03e63322189aebccd3a01894
Add is_ready method to scheduler driver

This commit adds is_ready method to scheduler driver to indicate
if driver is ready to accept requests. Scheduler is considered ready
when host_manager received capabilities for all active volume services.

Partial-Bug: 1409012
Change-Id: I4a90e68a3836c44038ee8c937ae1ecf40e5c1f32
cinder/scheduler/driver.py
cinder/scheduler/host_manager.py
cinder/tests/scheduler/test_host_manager.py
cinder/tests/scheduler/test_scheduler.py