different-availability-zone-filter

Registered by Tiantian Gao

Today, Scheduler has a lot of filters. Use these filters we can schedule an instance on specified availability_zone, or Schedule the instance on a different host from a set of instances. But we can not schedule the instance on a different availability_zone from a set of instance.
Because user may want to spread instances on many availability_zones for disaster tolerance, so the filter can be helpfull.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Undefined
Drafter:
Tiantian Gao
Direction:
Needs approval
Assignee:
Tiantian Gao
Definition:
Obsolete
Series goal:
None
Implementation:
Slow progress
Milestone target:
None
Started by
Russell Bryant
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

The scheduler_hints example:

"os:scheduler_hints": {
        "same_availability_zone": [
            "uuid-of-instance"
        ],
        "different_availability_zone": [
            "uuid-of-instance"
        ],
        "availability_zones": ["nova1", "nova2"], #specified AZs to create on.
        "not_availability_zones": ["nova3", "nova4"] # not locate instance in these AZs.
}

Gerrit topic: https://review.openstack.org/#q,topic:bp/different-availability-zone-filter,n,z

Addressed by: https://review.openstack.org/22770
    Add affinity availability zone scheduler filter

---

Please feel free to resubmit this now that the feature freeze is over!

Addressed by: https://review.openstack.org/28565
    Extract get AZ of instance code into common module.

Addressed by: https://review.openstack.org/28669
    Add affinity availability zone scheduler filter

Addressed by: https://review.openstack.org/33903
    Add get_instances_a..zs method into nova.az module

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyThe scheduler_hints example:

"os:scheduler_hints": {
        "same_availability_zone": [
            "uuid-of-instance"
        ],
        "different_availability_zone": [
            "uuid-of-instance"
        ],
        "availability_zones": ["nova1", "nova2"], #specified AZs to create on.
        "not_availability_zones": ["nova3", "nova4"] # not locate instance in these AZs.
}

Gerrit topic: https://review.openstack.org/#q,topic:bp/different-availability-zone-filter,n,z

Addressed by: https://review.openstack.org/22770
    Add affinity availability zone scheduler filter

---

Please feel free to resubmit this now that the feature freeze is over!

Addressed by: https://review.openstack.org/28565
    Extract get AZ of instance code into common module.

Addressed by: https://review.openstack.org/28669
    Add affinity availability zone scheduler filter

Addressed by: https://review.openstack.org/33903
    Add get_instances_a..zs method into nova.az module

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

This blueprint is not complete after a good year or so, marking as Obsolete to tidy up the Nova backlog. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.