From: Rushi Agrawal Date: Thu, 20 Nov 2014 10:24:10 +0000 (+0530) Subject: Remove code for deprecated extension path X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d6d3430502b34d570450f4807b8777e977f28271;p=openstack-build%2Fcinder-build.git Remove code for deprecated extension path As per the #NOTE, we should remove this code post-Grizzly. Change-Id: I8b8e807f5e49e112159395e061f10b0a3acea33c --- diff --git a/cinder/api/extensions.py b/cinder/api/extensions.py index c37b50702..95f9e79e4 100644 --- a/cinder/api/extensions.py +++ b/cinder/api/extensions.py @@ -269,19 +269,6 @@ class ExtensionManager(object): extensions = list(self.cls_list) - # NOTE(thingee): Backwards compat for the old extension loader path. - # We can drop this post-grizzly in the H release. - old_contrib_path = ('cinder.api.openstack.volume.contrib.' - 'standard_extensions') - new_contrib_path = 'cinder.api.contrib.standard_extensions' - if old_contrib_path in extensions: - LOG.warn(_('osapi_volume_extension is set to deprecated path: %s'), - old_contrib_path) - LOG.warn(_('Please set your flag or cinder.conf settings for ' - 'osapi_volume_extension to: %s'), new_contrib_path) - extensions = [e.replace(old_contrib_path, new_contrib_path) - for e in extensions] - for ext_factory in extensions: try: self.load_extension(ext_factory)