From d6d3430502b34d570450f4807b8777e977f28271 Mon Sep 17 00:00:00 2001 From: Rushi Agrawal Date: Thu, 20 Nov 2014 15:54:10 +0530 Subject: [PATCH] Remove code for deprecated extension path As per the #NOTE, we should remove this code post-Grizzly. Change-Id: I8b8e807f5e49e112159395e061f10b0a3acea33c --- cinder/api/extensions.py | 13 ------------- 1 file changed, 13 deletions(-) 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) -- 2.45.2