AMQP server on controller1:5672 is unreachable: timed out.
running openstack mitaka on ubuntu 14.04 with 3 nodes, controller1, compute1, block1.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The thing this error is affecting is causing my nova-compute instance to be in state down and all of my neutron services on both controller and compute node are down. I've tried restarting the services, rabbitmq, and no luck.
1 thing actually did work for me temporarily was adding this entry: "ram_allocation_ratio=3" in the default section of /etc/nova/nova.conf. I got a "Reconnected to AMQP server on controller1:5672 via [amqp] client" message in the nova log and I was able to launch an instance but after 10 minutes the errors below re-emerged.
The error I get in dashboard when trying to launch an instance is "not enough hosts available" and I know it's connected to rabbitmq's port 5672 on my controller blocking off messages from my compute node. I have tried looking at iptables and I have ran this command to try and enable this rabbit port: "iptables -A INPUT -p tcp --dport 5672 -j ACCEPT," and that still didn't work for me.
I have tried adding cpu_allocation_ratio=16 under the default section of nova.conf to see if it was an issue if nova couldn't see my storage, but it did nothing.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tail -f /var/log/nova/nova.conf on compute1 node gives me this output:
2016-10-27 13:56:11.252 8670 ERROR oslo.messaging._drivers.impl_rabbit [req-bb092395-1187-4ec2-b5f2-10530d0e7905 - - - - -] The broker has blocked the connection: low on disk 2016-10-27 13:56:21.253 8670 ERROR oslo.messaging._drivers.impl_rabbit [req-bb092395-1187-4ec2-b5f2-10530d0e7905 - - - - -] AMQP server on controller1:5672 is unreachable: timed out. Trying again in 1 seconds.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nova-consoleauth | controller1 | internal | enabled | up
nova-scheduler | controller1 | internal | enabled | up
nova-conductor | controller1 | internal | enabled | up
nova-compute | compute1 | nova | enabled | down
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DHCP agent | controller1 | nova | xxx | True
Metadata agent | controller1 | | xxx | True
Linux bridge agent | compute1 | | xxx | True
Linux bridge agent | controller1 | | xxx | True
L3 agent | controller1 | nova | xxx | True