Bug 1041104 - [RFE][nova]: Support multiple default schedule availability zones
Summary: [RFE][nova]: Support multiple default schedule availability zones
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:38 UTC by RHOS Integration
Modified: 2015-03-19 17:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:33:51 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 13:38:47 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/schedule-set-availability-zones.

Description:

I updated the description of this blueprint because previously generated a lot of confusion about the goal.


The goal of this blueprint is to have multiple schedule availability zones as default instead only one.
This means:
deprecate "default_schedule_zone" configuration option and have instead "default_schedule_zones=[]"

When an instance is created, if the user doesn't define an availability zone, it will be schedule into one node in the list of default schedule availability zones.
The advantage of this aproach is when an deployment has multiple availability zones the instances will be spread between them instead overload only one, if users don't specify an availability zone.


Implementation:
- deprecate "default_schedule_zone" and create "default_schedule_zones" option.
- if default_schedule_zone is present in configuration use this value to not break current configurations (default_schedule_zones=[default_schedule_zone])
- if an user doesn't specify an availability zone it shouldn't be added in the DB (remove the current behaviour). Anyway when query for the avz of an instance nova doesn't use this value.
- change AvailabilityZoneFilter to support multiple default azs.


Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.