Scheduler base class that all Schedulers should inherit from
Bases: nova.exception.Error
There is no valid host for the command.
Bases: object
The base class that all Scheduler clases should inherit from.
Checks if destination host has enough resource for live migration.
Currently, only memory checking has been done. If storage migration(block migration, meaning live-migration without any shared storage) will be available, local storage checking is also necessary.
Parameters: |
|
---|
Return the list of hosts that have a running service for topic.
Check if the src and dest host mount same shared storage.
At first, dest host creates temp file, and src host can see it if they mounts same shared storage. Then src host erase it.
Parameters: |
|
---|
Must override at least this method for scheduler to work.
Live migration scheduling method.
Parameters: |
|
---|---|
Returns: | The host where instance is running currently. Then scheduler send request that host. |
Check whether a service is up based on last heartbeat.
Called by the Scheduler Service to supply a ZoneManager.
Bases: nova.exception.Error
The specified host is not up or doesn’t exist.