From e7af255dacbab9ae6dbd4184eea16ec3b860d52d Mon Sep 17 00:00:00 2001 From: Guan Qiang Date: Mon, 9 Feb 2015 14:18:35 +0800 Subject: [PATCH] Remove useless storage_availability_zone import Config 'storage_availability_zone' have been removed from cinder.volume.manager long time ago, but Still been imported by cinder.volume.api and cinder.consistencygroup.api. Closes-Bug: #1426205 Change-Id: I9595f69f3d9cdf43002ccb0ed2d52f4b021b5448 --- cinder/consistencygroup/api.py | 1 - cinder/volume/api.py | 1 - 2 files changed, 2 deletions(-) diff --git a/cinder/consistencygroup/api.py b/cinder/consistencygroup/api.py index 9c90c0a38..7d049af0f 100644 --- a/cinder/consistencygroup/api.py +++ b/cinder/consistencygroup/api.py @@ -37,7 +37,6 @@ from cinder.volume import volume_types CONF = cfg.CONF -CONF.import_opt('storage_availability_zone', 'cinder.volume.manager') LOG = logging.getLogger(__name__) CGQUOTAS = quota.CGQUOTAS diff --git a/cinder/volume/api.py b/cinder/volume/api.py index 5726c9416..60a7864c9 100644 --- a/cinder/volume/api.py +++ b/cinder/volume/api.py @@ -71,7 +71,6 @@ CONF.register_opt(volume_same_az_opt) CONF.register_opt(az_cache_time_opt) CONF.import_opt('glance_core_properties', 'cinder.image.glance') -CONF.import_opt('storage_availability_zone', 'cinder.volume.manager') LOG = logging.getLogger(__name__) QUOTAS = quota.QUOTAS -- 2.45.2