The cinder.scheduler.weights.chance Module

Chance Weigher. Assign random weights to hosts.

Used to spread volumes randomly across a list of equally suitable hosts.

class ChanceWeigher

Bases: cinder.scheduler.weights.BaseHostWeigher