Icehouse Openstack - Neutron error ; Connection refused on port 9696

asked 2017-03-15 10:59:46 -0500

Raheel92 gravatar image

When using neutron commands (e.g. net-list net-create) on the controller node, I get the following error:

Unable to establish connection to http://controller:9696/v2.0/networks.json: HTTPConnectionPool(host='controller', port=9696): Max retries exceeded with url: /v2.0/networks.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fb507c2a210>: Failed to establish a new connection: [Errno 111] Connection refused',))

When I check the neutron-server.log, I get the following error:

ERROR neutron ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'neutron.ml2_gre_allocations' doesn't exist") [SQL: u'SELECT ml2_gre_allocations.gre_id AS ml2_gre_allocations_gre_id, ml2_gre_allocations.allocated AS ml2_gre_allocations_allocated \nFROM ml2_gre_allocations FOR UPDATE']

Can somebody please guide me on how to solve this issue?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-16 07:09:32 -0500

Vinoth gravatar image

It seems your neutron-server service is not running. This could be due to the missing table entry in the neutron database. So check whether the tables has been created under neutron database and also rerun the neutron db-sync command again.

edit flag offensive delete link more


Hi Vinoth, I got the same error when i tried to add the OVN plugin. What is the full format of the neutron db-sync command please?

phil111 gravatar imagephil111 ( 2019-07-29 11:01:59 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-03-15 10:59:46 -0500

Seen: 560 times

Last updated: Mar 16 '17