]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove code for deprecated extension path
authorRushi Agrawal <rushi.agr@gmail.com>
Thu, 20 Nov 2014 10:24:10 +0000 (15:54 +0530)
committerRushi Agrawal <rushi.agr@gmail.com>
Thu, 20 Nov 2014 10:24:13 +0000 (15:54 +0530)
As per the #NOTE, we should remove this code post-Grizzly.

Change-Id: I8b8e807f5e49e112159395e061f10b0a3acea33c

cinder/api/extensions.py

index c37b5070255eb1ce7cceaacb4181767ceb46464d..95f9e79e4ab57d469bce1038e186bb8db608e91a 100644 (file)
@@ -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)