Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

install openstack with contrail

Dear people,

I've problems installing Contrail direclty from the provided ISO's as part of my learning to work with Contrail and Openstack.

This a error log I get on all of the Nova/Cinder etc etc services:

Nova/scheduler.log

2014-04-03 14:26:02.954 2497 ERROR nova.openstack.common.rpc.common [-] Failed to consume message from queue: [Errno 104] Connection reset by peer
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common Traceback (most recent call last):
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_kombu.py", line 563, in ensure
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     return method(*args, **kwargs)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_kombu.py", line 643, in _consume
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     return self.connection.drain_events(timeout=timeout)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/kombu/connection.py", line 139, in drain_events
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     return self.transport.drain_events(self.connection, **kwargs)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 223, in drain_events
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     return connection.drain_events(**kwargs)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 56, in drain_events
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     return self.wait_multi(self.channels.values(), timeout=timeout)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/kombu/transport/pyamqplib.py", line 81, in wait_multi
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     return amqp_method(channel, args)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/amqplib/client_0_8/connection.py", line 378, in _close
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     self._x_close_ok()
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/amqplib/client_0_8/connection.py", line 397, in _x_close_ok
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     self._send_method((10, 61))
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/amqplib/client_0_8/abstract_channel.py", line 76, in _send_method
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     method_sig, args, content)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/amqplib/client_0_8/method_framing.py", line 252, in write_method
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     self.dest.write_frame(1, channel, payload)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/amqplib/client_0_8/transport.py", line 165, in write_frame
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     frame_type, channel, size, payload, 0xce))
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/eventlet/greenio.py", line 283, in sendall
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     tail = self.send(data, flags)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common   File "/usr/lib/python2.6/site-packages/eventlet/greenio.py", line 269, in send
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common     total_sent += fd.send(data[total_sent:], flags)
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common error: [Errno 104] Connection reset by peer
2014-04-03 14:26:02.954 2497 TRACE nova.openstack.common.rpc.common 
2014-04-03 14:26:03.030 2497 ERROR nova.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2014-04-03 14:26:04.032 2497 ERROR nova.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2014-04-03 14:26:07.034 2497 ERROR nova.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 5 seconds.

Cinder/scheduler.log

2014-04-03 14:24:27    ERROR [cinder.openstack.common.rpc.impl_qpid] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 60 seconds
2014-04-03 14:25:27    ERROR [cinder.openstack.common.rpc.impl_qpid] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 60 seconds
2014-04-03 14:26:27    ERROR [cinder.openstack.common.rpc.impl_qpid] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 60 seconds
2014-04-03 14:27:27    ERROR [cinder.openstack.common.rpc.impl_qpid] Unable to connect to AMQP server: client: 0-10, server: 9-1. Sleeping 60 seconds

It seems that there is a problem with the AMQP server. In version 1.03 the used QPID-services was qpidd. and since today I tried 1.04 which has RabbitMQ as a amqp-broker.

I can telnet port 5672 on all of the server nodes. so the port is in use and is open for every node.

The RabbitMQ is running now with version 1.04.

I followed every step in the " Control getting started guide" but I don't know what i missed. Every part from contrail seems to work. But only the OpenStack parts have problems functioning.