kombu classnotfound in stable/essex branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using the stable/essex branch on ubuntu 11.10
Yersterday, I updated my code, and an error appears when I restarted nova-compute or nova-scheduler :
2012-05-21 16:15:37 DEBUG nova.utils [req-b0de5796-
2012-05-21 16:15:37 DEBUG nova.utils [req-b0de5796-
2012-05-21 16:15:37 CRITICAL nova [-] Class impl_kombu could not be found: 'module' object has no attribute 'impl_kombu'
2012-05-21 16:15:37 TRACE nova Traceback (most recent call last):
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova execfile(__file__)
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova service.wait()
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova _launcher.wait()
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova service.wait()
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova return self._exit_
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova return hubs.get_
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova return self.greenlet.
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova result = function(*args, **kwargs)
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova server.start()
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova self.conn = rpc.create_
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova return _get_impl(
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova _RPCIMPL = utils.import_
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova cls = import_
2012-05-21 16:15:37 TRACE nova File "/usr/local/
2012-05-21 16:15:37 TRACE nova raise exception.
2012-05-21 16:15:37 TRACE nova ClassNotFound: Class impl_kombu could not be found: 'module' object has no attribute 'impl_kombu'
basically, the kombu module gets an error when it is loaded, it can't find the "loads" module in the anyjson package. The issue that the dist-package python directory has two anyjson egg-info directory :
anyjson-
anyjson-0.3.1should be used, it has loads module, but anyjson-0.2.4 is loaded.
The workaround is to erase anyjson-
This seems like a bug specific to your environment. How do you suggest we solve this within nova?