Chance (Random) Scheduler implementation
-
class ChanceScheduler
Bases: nova.scheduler.driver.Scheduler
Implements Scheduler as a random node selector.
-
schedule_prep_resize(context, image, request_spec, filter_properties, instance, instance_type, reservations)
Select a target for resize.
-
schedule_run_instance(context, request_spec, admin_password, injected_files, requested_networks, is_first_time, filter_properties)
Create and run an instance or instances.
-
select_hosts(context, request_spec, filter_properties)
Selects a set of random hosts.