[Openstack] AMQP server is unreachable / AMQP server closed the connection. Check login credentials

Yura Poltoratskiy yurapoltora at gmail.com
Thu Mar 24 13:36:40 UTC 2016


Hello,

I am a new to OpenStack. I am deploying from scratch and my architecture as
such:
2 servers - computes
3 servers - controllers
3 servers - SAN
1 server - network

On every controller node I have created lxc contrainer for every service,
so I have 3 containers for every service, and each container live on bare
server.

Operation system - Ubuntu 14.04 with cloud-archive:liberty on each
server/container and there are no firewall enabled.

Messages server is RabbitMQ, with I have deployed step-by-steb from this
guide:
http://docs.openstack.org/ha-guide/controller-ha-rabbitmq.html#rabbitmq-services

My first try to launch instance was failed. From the log I assume that the
problem is near the messages server. Here is some log.


nova-compute.log:

2016-03-24 12:00:06.833 11111 ERROR oslo.messaging._drivers.impl_rabbit
[req-8e5b0e51-ed48-48cf-9182-81b437246bcf - - - - -] AM
QP server on rabbitmq01:5672 is unreachable: [Errno 32] Broken pipe. Trying
again in 1 seconds.
2016-03-24 12:00:07.848 11111 INFO oslo.messaging._drivers.impl_rabbit [-]
Reconnected to AMQP server on rabbitmq01:5672

or

2016-03-24 12:05:23.910 11111 ERROR oslo.messaging._drivers.impl_rabbit [-]
AMQP server rabbitmq01:5672 closed the connection.
Check login credentials: Socket closed


neutron-server.log:

2016-03-24 12:27:40.140 25737 ERROR oslo.messaging._drivers.impl_rabbit [-]
AMQP server on rabbitmq01:5672 is unreachable: [Errno 104] Connection reset
by peer. Trying again in 1 seconds.
2016-03-24 12:27:41.156 25737 ERROR oslo.messaging._drivers.impl_rabbit [-]
AMQP server on rabbitmq01:5672 is unreachable: [Errno 111] ECONNREFUSED.
Trying again in 1 seconds.
2016-03-24 12:27:42.202 25737 INFO oslo.messaging._drivers.impl_rabbit [-]
Reconnected to AMQP server on rabbitmq02:5672
2016-03-24 12:27:48.786 25737 INFO oslo.messaging._drivers.impl_rabbit [-]
A recoverable connection/channel error occurred, trying to reconnect:
[Errno 104] Connection reset by peer
2016-03-24 12:28:03.580 25737 ERROR oslo.messaging._drivers.impl_rabbit [-]
AMQP server on rabbitmq01:5672 is unreachable: [Errno 32] Broken pipe.
Trying again in 1 seconds.
2016-03-24 12:28:04.606 25737 INFO oslo.messaging._drivers.impl_rabbit [-]
Reconnected to AMQP server on rabbitmq01:5672


rabbit at rabbitmq01.log:

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
accepting AMQP connection <0.2831.0> (10.1.1.101:50740 -> 10.1.1.41:5672)

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
accepting AMQP connection <0.2828.0> (10.1.1.101:50738 -> 10.1.1.41:5672)

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
accepting AMQP connection <0.2825.0> (10.1.1.101:50736 -> 10.1.1.41:5672)

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
accepting AMQP connection <0.2834.0> (10.1.1.101:50742 -> 10.1.1.41:5672)

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
Mirrored queue 'reply_6a400f775e434bafb05db9b8b1976c29' in vhost '/':
Adding mirror on node rabbit at rabbitmq02: <7323.17821.0>

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
Mirrored queue 'reply_6a400f775e434bafb05db9b8b1976c29' in vhost '/':
Adding mirror on node rabbit at rabbitmq03: <7324.18726.0>

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
Mirrored queue 'compute_fanout_aa803659695f48a2ab997e6bb8bf28bf' in vhost
'/': Adding mirror on node rabbit at rabbitmq02: <7323.17827.0>

=INFO REPORT==== 24-Mar-2016::14:18:01 ===
Mirrored queue 'compute_fanout_aa803659695f48a2ab997e6bb8bf28bf' in vhost
'/': Adding mirror on node rabbit at rabbitmq03: <7324.18732.0>

=ERROR REPORT==== 24-Mar-2016::14:19:41 ===
closing AMQP connection <0.2825.0> (10.1.1.101:50736 -> 10.1.1.41:5672):
Missed heartbeats from client, timeout: 20s

=ERROR REPORT==== 24-Mar-2016::14:19:41 ===
closing AMQP connection <0.2834.0> (10.1.1.101:50742 -> 10.1.1.41:5672):
Missed heartbeats from client, timeout: 20s

=ERROR REPORT==== 24-Mar-2016::14:20:01 ===
closing AMQP connection <0.2828.0> (10.1.1.101:50738 -> 10.1.1.41:5672):
Missed heartbeats from client, timeout: 20s

=ERROR REPORT==== 24-Mar-2016::14:20:01 ===
closing AMQP connection <0.2831.0> (10.1.1.101:50740 -> 10.1.1.41:5672):
Missed heartbeats from client, timeout: 20s

I reinstalled rabbitmq-server on dedicated server without success.

Someone help me pls to fix the problem.

I could provide any additional info.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160324/038ebaba/attachment.html>


More information about the Openstack mailing list