A filter to avoid placing volumes on the same host

Registered by Alexey Ovchinnikov

It may be desired to make sure that cinder does not create volumes on the same host to which some specific volumes already belong. This can be achieved by introducing a filter for cinder scheduler which filters out hosts associated with those volumes.

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
Alexey Ovchinnikov
Direction:
Needs approval
Assignee:
Alexey Ovchinnikov
Definition:
Drafting
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Alexey Ovchinnikov

Related branches

Sprints

Whiteboard

* Are you planning on this being advisory, or a hard requirement? (i.e. does create fail if the affinity requirements can't be met)

In case there is no host satisfying antiaffinity requirement then yes, create should fail. If one wants to create a volume anyway I think it is better to use a weighter function than filter.* Are you planning on this being advisory, or a hard requirement? (i.e. does create fail if the affinity requirements can't be met)

In case there is no host satisfying antiaffinity requirement then yes, create should fail. If one wants to create a volume anyway I think it is better to use a weighter function than filter.

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.