Ask Your Question
0

Neutron installation error [Errno 111] Connection refused',)) [closed]

asked 2018-11-21 12:20:54 -0500

star5 gravatar image

I am installing openstack using https://docs.openstack.org/install-guide/openstack-services.html (https://docs.openstack.org/install-gu...) (rocky)

I am stuck at neutron installation. I am using the https://docs.openstack.org/neutron/rocky/install/controller-install-option1-ubuntu.html (Networking Option 1: Provider networks). After all the steps and at the verification when I run : $ openstack extension list --network

I get the below error:

REQ: curl -g -i -X GET http://controllerstack:9696/v2.0/extensions -H "Accept: application/json" -H "User-Agent: openstacksdk/0.17.2 keystoneauth1/3.10.0 python-requests/2.18.4 CPython/2.7.15rc1" -H "X-Auth-Token: {SHA1}2e862b28c61bdb114ca81e4ace5c9723d4c25270"

Starting new HTTP connection (1): controllerstack Failure: Unable to establish connection to http://controllerstack:9696/v2.0/extensions (http://controllerstack:9696/v2.0/exte...): HTTPConnectionPool(host='controllerstack', port=9696): Max retries exceeded with url: /v2.0/extensions (Caused by NewConnectionError('<urllib3.connection.httpconnection 0x7ff9c5cf4e10="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',)). Retrying in 0.5s.</urllib3.connection.httpconnection>

I don't know what is the issue. The name of my controller is controllerstack and I have the right ip address mentioned in /etc/hosts and furthermore, I have no spelling issues in nova.conf.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by star5
close date 2018-11-26 02:45:46.207150

Comments

what about your neutron-server log?

Eranachandran gravatar imageEranachandran ( 2018-11-21 21:16:18 -0500 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2018-11-26 02:45:18 -0500

star5 gravatar image

I was able to fix the issue. I had to restart the memcache service. I still keep getting the errors every now and then. And when I do :

  1. service memcached restart.
  2. Clear browser cookies and cache.

But it is sometimes still annoying even with the fix.

edit flag offensive delete link more
0

answered 2018-11-21 16:32:28 -0500

Connection refused means that you reached controllerstackand its port 9696 is not blocked, but nothing listens at that port. The Neutron server is down or uses a different endpoint than http://controllerstack:9696.

Check if it runs. If not, check the /var/log/neutron/server.log (I hope the filename is correct) to find out why it doesn’t run. If it does run, again check the log to understand why it is not listening on that port.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2018-11-21 12:20:54 -0500

Seen: 132 times

Last updated: Nov 21 '18