The nova.scheduler.chance Module

Chance (Random) Scheduler implementation

class ChanceScheduler

Bases: nova.scheduler.driver.Scheduler

Implements Scheduler as a random node selector.

schedule(context, topic, method, *_args, **kwargs)

Picks a host that is up at random.

schedule_prep_resize(context, image, request_spec, filter_properties, instance, instance_type, reservations=None)

Select a target for resize.

schedule_run_instance(context, request_spec, admin_password, injected_files, requested_networks, is_first_time, filter_properties, reservations)

Create and run an instance or instances

Previous topic

The nova.rootwrap.wrapper Module

Next topic

The nova.scheduler.driver Module

This Page