trying Qpid on Ubuntu 12.04 -- ClassNotFound exception
Hi,
I have nova Essex over Ubuntu-12.04 installed on my cluster. I am trying to experiment with the Qpid instead of RabbitMQ. I have installed Qpid and its other utilities using the following command:
apt-get install qpidd qpid-tools qpid-doc qpid-client python-
and have enabled the quid backend using the following flags in nova.conf
--rpc_backend=
--qpid_
But when I start nova-compute and other nova services, they are unable to find impl_qpid; the exact error from nova-compute.log is:
2012-05-21 08:58:13 TRACE nova ClassNotFound: Class impl_qpid could not be found: 'module' object has no attribute 'impl_qpid'
However, I can see impl_qpid.py and impl_qpid.pyc in /usr/lib/
I have am pasting the relevant portions of nova-compute.log and nova.conf below
thanks in advance
-upendra
===== nova.conf ====
--dhcpbridge_
--dhcpbridge=
--logdir=
--state_
--lock_
--force_
--iscsi_
--libvirt_
--connection_
--root_helper=sudo nova-rootwrap
--verbose
--debug
--ec2_private_
--auth_
# GLANCE
--image_
--glance_
# RPC backend
# rabbit
#--rabbit_
--rabbit_
# Qpid
--rpc_backend=
--qpid_
# NETWORK
--network_
--flat_
--fixed_
--public_
--flat_
--flat_
--multi_host=True
# DATABASE
--sql_connectio
=======
========== nova-compute.log ==============
2012-05-21 08:58:09 DEBUG nova.service [-] network_driver : nova.network.
2012-05-21 08:58:09 DEBUG nova.service [-] quota_instances : 10 from (pid=5173) wait /usr/lib/
2012-05-21 08:58:09 DEBUG nova.service [-] vnc_keymap : FLAG SET from (pid=5173) wait /usr/lib/
2012-05-21 08:58:09 DEBUG nova.service [-] image_service : nova.image.
2012-05-21 08:58:09 DEBUG nova.service [-] libvirt_
2012-05-21 08:58:09 DEBUG nova.service [-] control_exchange : nova from (pid=5173) wait /usr/lib/
2012-05-21 08:58:09 DEBUG nova.service [-] volume_group : nova-volumes from (pid=5173) wait /usr/lib/
2012-05-21 08:58:09 DEBUG nova.service [-] log_file : None from (pid=5173) wait /usr/lib/
2012-05-21 08:58:09 DEBUG nova.service [-] compute_manager : nova.compute.
2012-05-21 08:58:09 DEBUG nova.service [-] compute_driver : nova.virt.
2012-05-21 08:58:09 DEBUG nova.service [-] network_topic : network from (pid=5173) wait /usr/lib/
2012-05-21 08:58:09 AUDIT nova.service [-] Starting compute node (version 2012.1-
2012-05-21 08:58:09 DEBUG nova.utils [-] Found lockfile nova-iptables.lock with link count 2 from (pid=5173) cleanup_file_locks /usr/lib/
2012-05-21 08:58:10 DEBUG nova.utils [req-3a7a8444-
2012-05-21 08:58:10 DEBUG nova.virt.
2012-05-21 08:58:13 INFO nova.virt.
2012-05-21 08:58:13 DEBUG nova.utils [-] Inner Exception: 'module' object has no attribute 'impl_qpid' from (pid=5173) import_class /usr/lib/
2012-05-21 08:58:13 CRITICAL nova [-] Class impl_qpid could not be found: 'module' object has no attribute 'impl_qpid'
2012-05-21 08:58:13 TRACE nova Traceback (most recent call last):
2012-05-21 08:58:13 TRACE nova File "/usr/bin/
2012-05-21 08:58:13 TRACE nova service.wait()
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova _launcher.wait()
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova service.wait()
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova return self._exit_
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova return hubs.get_
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova return self.greenlet.
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova result = function(*args, **kwargs)
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova server.start()
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova self.conn = rpc.create_
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova return _get_impl(
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova _RPCIMPL = utils.import_
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova cls = import_
2012-05-21 08:58:13 TRACE nova File "/usr/lib/
2012-05-21 08:58:13 TRACE nova raise exception.
2012-05-21 08:58:13 TRACE nova ClassNotFound: Class impl_qpid could not be found: 'module' object has no attribute 'impl_qpid'
2012-05-21 08:58:13 TRACE nova
=======
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Upendra
- Solved:
- Last query:
- Last reply: