Tests For Scheduler
Bases: nova.tests.scheduler.test_scheduler.SchedulerTestCase
Test cases for base scheduler driver class methods that can’t will fail if the driver is changed
Bases: nova.test.TestCase
Test case for scheduler driver module methods
Bases: nova.test.TestCase
Test case for scheduler manager
Bases: exceptions.Exception
alias of Scheduler
alias of SchedulerManager
Test that a NoValidHost exception for prep_resize puts the instance in ACTIVE state
Test that a NoValidHost exception for prep_resize puts the instance in ACTIVE state
Test that a NoValidHost exception for run_instance puts the instance in ERROR state and eats the exception.
Bases: nova.test.TestCase
Test case for base scheduler driver class
alias of Scheduler
Test live migration when all checks pass.
Test basic schedule_live_migration functionality
Raise exception when dest compute node is not alive.
Raise exception when src compute node is not alive.
Raise exception when src compute node is does not exist.
Confirms exception raises when dest doesn’t have enough memory.
Confirms exception raises in case dest and src is same host.
Confirm live migration to older hypervisor raises
Confirm live_migration to hypervisor of different type raises
The instance given by instance_id is not running.