Ask Your Question
0

Essex3 : AttributeError: 'Connection' object has no attribute 'connection_errors'

asked 2012-02-14 09:46:08 -0600

Hello,

I am trying to setup an OpenStack Cloud environment from the essex-3 packages available on launchpad.

I have an issue when I try to start nova-scheduler and nova-network (see below). kumbo == 1.0.4 amqplib == 0.6.1

Thank you very much for your help.

Regards, Jérôme

su -c "nova-scheduler --flagfile=/etc/nova/nova.conf" nova

[...] 2012-02-14 09:12:16,363 DEBUG nova [-] network_topic : network from (pid=18737) debug /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/log.py:175 2012-02-14 09:12:16,364 AUDIT nova [-] Starting scheduler node (version 2012.1-LOCALBRANCH:LOCALREVISION) 2012-02-14 09:12:16,670 DEBUG nova.utils [req-6de5d756-3b99-4167-b45c-6f7deccef4f4 None None] backend <module 'nova.db.sqlalchemy.api'="" from="" '="" usr="" local="" lib="" python2.7="" dist-packages="" nova-2012.1-py2.7.egg="" nova="" db="" sqlalchemy="" api.pyc'=""> from (pid=18737) debug /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/log.py:175 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 336, in fire_timers timer() File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__ cb(args, *kw) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main result = function(args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/service.py", line 88, in run_server server.start() File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/service.py", line 162, in start self.conn = rpc.create_connection(new=True) File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/rpc/__init__.py", line 44, in create_connection return _get_impl().create_connection(new=new) File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/rpc/impl_kombu.py", line 595, in create_connection return rpc_amqp.create_connection(new) File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/rpc/amqp.py", line 302, in create_connection return ConnectionContext(pooled=not new) File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/rpc/amqp.py", line 81, in __init__ self.connection = ConnectionClass() File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/rpc/impl_kombu.py", line 336, in __init__ self.reconnect() File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/rpc/impl_kombu.py", line 385, in reconnect except self.connection_errors, e: AttributeError: 'Connection' object has no attribute 'connection_errors' 2012-02-14 09:12:16,830 CRITICAL nova [-] 'Connection' object has no attribute 'connection_errors' (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/local/bin/nova-scheduler", line 5, in <module> (nova): TRACE: pkg_resources.run_script('nova==2012.1', 'nova-scheduler') (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script (nova): TRACE: self.require(requires)[0].run_script(script_name, ns) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script (nova): TRACE: execfile(script_filename, namespace, namespace) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/EGG-INFO/scripts/nova-scheduler", line 51, in <module> (nova): TRACE ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2012-02-14 11:34:41 -0600

Hello again,

In fact, the problem is solved now.

But I think, there is a bug... let me explain.

When I set up Glance (from the packages provided on launchpad essex3), it setups automatically Kombu == 2.0.0. And that was the problem. After a revert from 2.0.0 to 1.0.4, nova was OK again.

Thank you. Jérôme

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-02-14 09:46:08 -0600

Seen: 71 times

Last updated: Feb 14 '12