From: Vishvananda Ishaya Date: Fri, 21 Sep 2012 00:32:56 +0000 (+0000) Subject: Remove cinder gating hack X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=bc0fb113af225878b4305da7d834673a6b7f5e97;p=openstack-build%2Fcinder-build.git Remove cinder gating hack The hack was necessary while we switched the name used for az's in the gating tests. Now it can be removed Change-Id: I970205910ac0950ab4a961aa0537eb964d7f0d3c --- diff --git a/cinder/api/openstack/volume/volumes.py b/cinder/api/openstack/volume/volumes.py index b697a6256..69d55c6bd 100644 --- a/cinder/api/openstack/volume/volumes.py +++ b/cinder/api/openstack/volume/volumes.py @@ -319,9 +319,6 @@ class VolumeController(wsgi.Controller): kwargs['image_id'] = image_uuid kwargs['availability_zone'] = volume.get('availability_zone', None) - # NOTE(vish): Temporary hack to work around gating issues - if kwargs['availability_zone'] == 'cinder': - kwargs['availability_zone'] = 'nova' new_volume = self.volume_api.create(context, size,