This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.1 docs or all OpenStack docs too.

The nova.scheduler.chance Module

Chance (Random) Scheduler implementation

class nova.scheduler.chance.ChanceScheduler

Bases: nova.scheduler.driver.Scheduler

Implements Scheduler as a random node selector.

schedule(context, topic, *_args, **_kwargs)

Picks a host that is up at random.