glance DriverLoadFailure: Failed to load transport driver "rabbit": No 'oslo.messaging.drivers' driver found, looking for 'rabbit'

Asked by Jeffrey Zhang on 2013-06-07

Can't start glance,The following error:

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

Help me to look at ,thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
Feilong Wang
Solved:
2014-09-10
Last query:
2014-09-10
Last reply:
2013-07-29
Best Feilong Wang (flwang) said : #1

Jeffrey, as you know, you can take bug https://bugs.launchpad.net/glance/+bug/1189089 to track the status. I have submmited a fix for this. But it's pending, since the oslo.message is comming to replace current oslo's notification implement. I will continue work on this. If you wang to track this, pls monitor the bug. Thanks.

Jeffrey Zhang (jeffrey4l) said : #2

Thanks Fei Long Wang, that solved my question.