Revision history [back]

click to hide/show revision 1
initial version

Error with neutron service on the controller: Connection to neutron failed: HTTPConnectionPool

Hi All,

I am newbie in OpenStack and I am evaluating it on my home with 3 nodes environment, how the doc says (controller node, network node and compute node).

I am installing it on Debian and I have a problem at the end of the installation process when I am trying to create one network tenant. From the controller node I type "neutron net-create demo-net" and I get this error:

# neutron net-create demo-net
Connection to neutron failed: HTTPConnectionPool(host='', port=9696): Max retries exceeded with url: /v2.0/networks.json (Caused by ProtocolError('Connection aborted.', error(111, 'Conexi\xc3\xb3n rehusada')))

Neutron is running on control node:

# ps aux | grep neutron
neutron  27341  0.5  1.7  71736 52860 ?        S    16:57   0:06 /usr/bin/python2.7 /usr/bin/neutron-server --config-file=/etc/neutron/neutron.conf --log-file=/var/log/neutron/neutron-server.log

But it is strange because I see it no running on 9696 port:

# netstat -putona | grep 9696

...despite I have uncommented it on /etc/neutron/neutron.conf:

# Port the bind the API server to
bind_port = 9696

The only errors I can see in /var/log/neutron/neutron-server.log are related to issues with connecting with rabbitmq:

2014-10-21 17:20:21.685 27341 INFO neutron.openstack.common.rpc.common [-] Reconnecting to AMQP server on controlnode:5672
2014-10-21 17:20:24.719 27341 ERROR neutron.openstack.common.rpc.common [-] AMQP server on controlnode:5672 is unreachable: Socket closed. Trying again in 30 seconds.

... and If this is the issue why neutron is not starting on (and the main reasson for I can not create one tenant network), it is very weird because rabbitmq is running on the same controller node host and listening on that port:

# nc -vz controlnode 5672 [] 5672 (amqp) open

# ps aux | grep rabbit
rabbitmq 26289  0.8  0.8 119524 26624 ?        Sl   16:20   0:32 
...-rabbit tcp_listeners [{"",5672}]...

Any help will be much appreciated. Because I am stalled on this point of the installation when going to create one tenant network.

Thank you,