I'm setting up openstack infrastructure, composed from controller and compute nodes.
I followed the process of setting sub-services as of USSURI version: keystone, glance, placement. See article
When I came to neutron service, I started with setup of components hosted in controller node with option 1 (network provider) so I followed these 3 articles respectively : process 1/3 - process 2/3 - process 3/3
When I go to creating a network (process 3/3), I receive this error message :
$openstack network create --project-domain Default --project service --share --external --provider-physical-network provider --provider-network-type flat --enable provider
Unable to establish connection to http://controller:9696/v2.0/networks: HTTPConnectionPool(host='controller', port=9696): Max retries exceeded with url: /v2.0/networks (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd0a7c13630>: Failed to establish a new connection: [Errno 111] Connection refused',))
Waiting for help please.
If the question helped, up-vote it. Thanks in advance.
I got the answer...
Controller node Neutron setup process should stop at process 2/3, we can't move forward as this necessary command is not yet passed :
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron
It synchronizes Neutron databases and creates the necessary table for Neutron keystone-authentication.