]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove redundant 'availability_zone' config options.
authorZhiteng Huang <zhiteng.huang@intel.com>
Wed, 8 Aug 2012 16:41:28 +0000 (00:41 +0800)
committerZhiteng Huang <zhiteng.huang@intel.com>
Thu, 9 Aug 2012 01:56:32 +0000 (09:56 +0800)
commit30a591616687f41af4cfa2605078a436b2bd795d
tree9dfb29363d7301e25b3402642acc422d021515e4
parente8db777de63e2308c12a8c3b54e7a0ed54f8a068
Remove redundant 'availability_zone' config options.

There are two availability_zone related config options now:
  node_availability_zone and storage_availability_zone
While volume API uses node_availability_zone, the scheduler uses
the other, which causes failure in scheduler when these two options
have different values.

This patch removes 'node_availability_zone' so that end user
can specify 'availability zone' when create volumes using
Simple scheduler.

Partially implement blueprint implement-availability-zones

Change-Id: Ia2f0710908495ec64dacd2ee9bd10d7f8cd415df
cinder/flags.py
cinder/scheduler/simple.py
cinder/service.py
cinder/volume/api.py
cinder/volume/manager.py
etc/cinder/cinder.conf.sample