Availability zone support with Cells

Registered by Sam Morrison

Support availability zones when using Cells API

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Sam Morrison
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

AIMS
===

* Support API request to list availability zones
* Cells scheduler filter to direct instance requests that specify availability_zone to cells that have the availability zone

Things to solve
=========

* A cell needs to advertise it's supported availability_zones
      * Can piggy back on capability updates.

* get_instance_availability_zone need to become cell aware
   * On instance_update get instances AZ and put into system_metadata (this is then traversed upwards to api level cell)
   * If cells api enabled use system_metadata as opposed to get_host_az

* get_availability_zones need to become cell aware
      * If using cells api get the list of AZs from the capability updates
AIMS
===

* Support API request to list availability zones
* Cells scheduler filter to direct instance requests that specify availability_zone to cells that have the availability zone

Things to solve
=========

* A cell needs to advertise it's supported availability_zones
      * Can piggy back on capability updates.

* get_instance_availability_zone need to become cell aware
   * On instance_update get instances AZ and put into system_metadata (this is then traversed upwards to api level cell)
   * If cells api enabled use system_metadata as opposed to get_host_az

* get_availability_zones need to become cell aware
      * If using cells api get the list of AZs from the capability updates

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.