Devstack Multi node with only one network interface - not working

asked 2018-10-16 11:31:10 -0500

Jo2018 gravatar image

Hello,

I have 3 servers and i would like to do a multi-nodes Devstack cluster. I followed the guide here as they are talking of the need of only 1 network: https://docs.openstack.org/devstack/latest/guides/multinode-lab.html (https://docs.openstack.org/devstack/l...)

After installation completed all seems ok except that when i create instances, only instances created on the Controller node get an IP, the other ones are stucked with network failure (from VM logs):

[[0;32m OK [0m] Started Initial cloud-init job (pre-networking). [[0;32m OK [0m] Reached target Network (Pre). Starting Raise network interfaces... [ [0;31m[0;1;31m[0m] A start job is running for Raise ne... interfaces (5min 9s / 10min 4s)[K[ [0;31m[0m] A start job is running for Raise ne... interfaces (5min 9s / 10min 4s)[K[ [0;31m[0;1;31m[0m] A start job is running for Raise ne...interfaces (5min 10s / 10min 4s)[K[ [0;31m[0;1;31m[0m[0;31m[0m] A start job is running for Raise ne...interfaces (5min 10s / 10min 4s)[K[ [0;31m[0;1;31m[0m[0;31m* [0m] A start job is running for Raise ne...interfaces (5min 11s / 10min 4s)[K[ [0;31m[0;1;31m[0m[0;31m* [0m] A start job is running for Raise ne...interfaces (5min 11s / 10min 4s)[K[[0;31m[0;1;31m[0m[0;31m* [0m] A start job is running for Raise ne...interfaces (5min 12s / 10min 4s)[K[[0;1;31m[0m[0;31m [0m] A start job is running for Raise ne...interfaces (5min 12s / 10min 4s) Blockquote

I would like having a private network with my created instances and be able to give floating IPs to some of them to be able to ssh them from outside like on the picture below (cannot upload my own image apparently): https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjSuMGoroveAhUEVa0KHXqECnsQjRx6BAgBEAU&url=http%3A%2F%2Fjackkozik.com%2Fopenstack-icehouse-on-home-network%2F&psig=AOvVaw2bbpshsNYMTXKwb0LGc8t0&ust=1539793036118302 (image description)

It's what Devstack create by default in the demo project with the configuration done.

Here are my local.conf file: - Controller node: [[local|localrc]] HOST_IP=137.212.230.21 FLAT_INTERFACE=enp2s0f1 FIXED_RANGE=192.168.1.0/20 FIXED_NETWORK_SIZE=4096 FLOATING_RANGE=137.212.230.0/26 MULTI_HOST=1 LOGFILE=/opt/stack/logs/stack.sh.log ADMIN_PASSWORD=secret DATABASE_PASSWORD=secret RABBIT_PASSWORD=secret SERVICE_PASSWORD=secret

And on compute nodes (only HOST_IP change between the 2 compute nodes): [[local|localrc]] HOST_IP=137.212.230.33 FLAT_INTERFACE=enp2s0f1 FIXED_RANGE=192.168.1.0/20 FIXED_NETWORK_SIZE=4096 FLOATING_RANGE=137.212.230.0/26 MULTI_HOST=1 LOGFILE=/opt/stack/logs/stack.sh.log ADMIN_PASSWORD=secret DATABASE_PASSWORD=secret RABBIT_PASSWORD=secret SERVICE_PASSWORD=secret DATABASE_TYPE=mysql SERVICE_HOST=137.212.230.21 MYSQL_HOST=$SERVICE_HOST RABBIT_HOST=$SERVICE_HOST GLANCE_HOSTPORT=$SERVICE_HOST:9292 ENABLED_SERVICES=n-cpu,q-agt,n-api-meta,c-vol,placement-client NOVA_VNC_ENABLED=True NOVNCPROXY_URL="http://$SERVICE_HOST:6080/vnc_auto.html" VNCSERVER_LISTEN=$HOST_IP VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN

And i run the following command when ... (more)

edit retag flag offensive close merge delete