Scheduler base class that all Schedulers should inherit from
Bases: object
The base class that all Scheduler classes should inherit from.
Find a host that can accept the volume with its new type.
Must override schedule method for scheduler to work.
Check if the specified host passes the filters.
Returns True if Scheduler is ready to accept requests.
This is to handle scheduler service startup when it has no volume hosts stats and will fail all the requests.
Reset volume RPC API object to load new version pins.
Must override schedule method for scheduler to work.
Must override schedule method for scheduler to work.
Must override schedule method for scheduler to work.
Process a capability update from a service node.
Set the host and the scheduled_at field of a consistencygroup.
Returns: | A Consistencygroup with the updated fields set properly. |
---|
Set the host and set the scheduled_at field of a volume.
Returns: | A Volume with the updated fields set properly. |
---|