# DevStack multi-node multi-interface neutron installation

I'm trying to install openstack using devstack on 2 compute nodes + 1 controller node with neutron. I have like 5 interfaces on all the nodes but I'm trying to setup openstack using 2 interfaces; one private network 192.168.132.0/24 and one public network 10.21.13.160/27. The gateway for the public network has IP 10.21.13.161. I'm connecting to the servers via ssh - I don't have physical access to them. This means that if I want to be able to connect to e.g. Horizon it needs to have a public IP. They're running on CentOS 7 so the interfaces are following the new naming convention (not eth0, eth1 etc).

How should I configure the local.conf files for the nodes? All the "tutorials" I've looked at seem rather uncomplete and only show a part of the configuration file so I'm unsure which parameters I need to include. Below is the configuration file for the controller:

[[local|localrc]]

# Minimal Contents
# ----------------

# While stack.sh is happy to run without localrc, devlife is better when
# there are a few minimal variables set:

# If the SERVICE_TOKEN and *_PASSWORD variables are not set
# here you will be prompted to enter values for them by stack.sh
# and they will be added to local.conf.

SERVICE_TOKEN=azertytoken
SERVICE_PASSWORD=$ADMIN_PASSWORD MULTI_HOST=True FLOATING_RANGE=10.21.13.160/27 PUBLIC_NETWORK_GATEWAY=10.21.13.190 HOST_IP=192.168.132.1 PUBLIC_INTERFACE=enp8s0 FLAT_INTERFACE=enp7s0 disable_service n-net disable_service n-cpu enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service neutron GIT_BASE=${GIT_BASE:-https://git.openstack.org}


enp8s0 is connected to the 10.21.13.160/27 network and enp7s0 is connected to the 192.168.132.0/24 network.

And here is the local.conf file for one of the compute nodes:

[[local|localrc]]

# Minimal Contents
# ----------------

# While stack.sh is happy to run without localrc, devlife is better when
# there are a few minimal variables set:

# If the SERVICE_TOKEN and *_PASSWORD variables are not set
# here you will be prompted to enter values for them by stack.sh
# and they will be added to local.conf.

HOST_IP=192.168.132.2

SERVICE_TOKEN=azertytoken

SERVICE_HOST=192.168.132.1

ENABLED_SERVICES=n-cpu,rabbit,neutron,q-agt
MYSQL_HOST=$SERVICE_HOST RABBIT_HOST=$SERVICE_HOST
Q_HOST=$SERVICE_HOST GLANCE_HOSTPORT=$SERVICE_HOST:9292


I was able to ./stack.sh the controller node, but the compute node is failing with the following error:

2015-08-04 20:04:05.114 | ++ get_or_create_project alt_demo default
2015-08-04 20:04:05.114 | +++ openstack --os-url=http://192.168.132.1:5000/v3 --os-identity-api-version=3 project create alt_demo
--domain=default --or-show -f value -c id
2015-08-04 20:04:05.631 | WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed
when creating the password plugin. Attempting to determine version from URL.
2015-08-04 20:04:05.631 | ERROR: openstack Could not determine a suitable URL for the plugin ...
edit retag close merge delete