Avoid register extensions on the versions router
While starting the cinder api, the extensions available are
registered in all routers. As there are no resources offered
by the versions router, a series of warnings appears at startup
while trying to register extensions.
Closes-Bug:
@@ -85,6 +85,12 @@ class Versions(openstack.APIRouter):
action='all')
mapper.redirect('', '/')
+ # NOTE (jose-castro-leon): Avoid to register extensions
+ # on the versions router, the versions router does not offer
+ # resources to be extended.
+ def _setup_extensions(self, ext_mgr):
+ pass
+
class VersionsController(wsgi.Controller):
