Scheduler Service
Bases: manila.manager.Manager
Chooses a host to create shares.
Get a list of hosts from the HostManager.
Get the normalized set of capabilities for this zone.
Process a capability update from a service node.
Scheduler base class that all Schedulers should inherit from
Bases: object
The base class that all Scheduler classes should inherit from.
Get a list of hosts from the HostManager.
Get the normalized set of capabilities for the services.
Return the list of hosts that have a running service for topic.
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 set the scheduled_at field of a share.
Returns: | A Share with the updated fields set properly. |
---|
Simple Scheduler
Bases: manila.scheduler.chance.ChanceScheduler
Implements Naive Scheduler that tries to find least loaded host.
Picks a host that is up and has the fewest shares.