Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Failed to load transport driver "rabbit" - ubuntu/icehouse

anyone experiencing this problem when starting glance-api - Upgrading to Icehouse on ubuntu 12.04 - using packages from ubuntu cloud archive. I have rpc_backend=rabbit in the glance api config but get the following error in the logs.

2014-06-19 16:40:45.377 32168 TRACE glance Traceback (most recent call last):
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
2014-06-19 16:40:45.377 32168 TRACE glance     sys.exit(main())
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 63, in main
2014-06-19 16:40:45.377 32168 TRACE glance     server.start(config.load_paste_app('glance-api'), default_port=9292)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 210, in load_paste_app
2014-06-19 16:40:45.377 32168 TRACE glance     app = deploy.loadapp("config:%s" % conf_file, name=app_name)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2014-06-19 16:40:45.377 32168 TRACE glance     return loadobj(APP, uri, name=name, **kw)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2014-06-19 16:40:45.377 32168 TRACE glance     return context.create()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-06-19 16:40:45.377 32168 TRACE glance     return self.object_type.invoke(self)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke
2014-06-19 16:40:45.377 32168 TRACE glance     app = context.app_context.create()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-06-19 16:40:45.377 32168 TRACE glance     return self.object_type.invoke(self)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2014-06-19 16:40:45.377 32168 TRACE glance     **context.local_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
2014-06-19 16:40:45.377 32168 TRACE glance     val = callable(*args, **kw)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/api/__init__.py", line 27, in root_app_factory
2014-06-19 16:40:45.377 32168 TRACE glance     return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 25, in urlmap_factory
2014-06-19 16:40:45.377 32168 TRACE glance     app = loader.get_app(app_name, global_conf=global_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2014-06-19 16:40:45.377 32168 TRACE glance     name=name, global_conf=global_conf).create()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-06-19 16:40:45.377 32168 TRACE glance     return self.object_type.invoke(self)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2014-06-19 16:40:45.377 32168 TRACE glance     return fix_call(context.object, context.global_conf, **context.local_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
2014-06-19 16:40:45.377 32168 TRACE glance     val = callable(*args, **kw)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/common/wsgi.py", line 472, in factory
2014-06-19 16:40:45.377 32168 TRACE glance     return cls(APIMapper())
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/api/v2/router.py", line 58, in __init__
2014-06-19 16:40:45.377 32168 TRACE glance     images_resource = images.create_resource(custom_image_properties)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/api/v2/images.py", line 809, in create_resource
2014-06-19 16:40:45.377 32168 TRACE glance     controller = ImagesController()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/api/v2/images.py", line 49, in __init__
2014-06-19 16:40:45.377 32168 TRACE glance     self.notifier = notifier or glance.notifier.Notifier()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/notifier.py", line 109, in __init__
2014-06-19 16:40:45.377 32168 TRACE glance     aliases=_ALIASES)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 185, in get_transport
2014-06-19 16:40:45.377 32168 TRACE glance     raise DriverLoadFailure(url.transport, ex)
2014-06-19 16:40:45.377 32168 TRACE glance DriverLoadFailure: Failed to load transport driver "rabbit": No 'oslo.messaging.drivers' driver found, looking for 'rabbit'