The main part in setting up a multinode devstack is to
config the local.conf
file beforerunning ./stack.sh
on bothcontroller and compute node
# DEFAULT SETTINGS
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=192.168.1.102
SERVICE_TOKEN=password
ENABLED_SERVICES=n-cpu,n-net,n-api-meta,c-vol
# MULTINODE CONFIGURATION
FLAT_INTERFACE=eth0
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.168.50.0/24
MULTI_HOST=1
# LOG FILE LOCATION
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs
# FOR INSTALLING NEUTRON
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
# Optional, to enable tempest configuration as part of devstack
enable_service tempest
# DEFAULT SETTINGS
# Change this per compute node
HOST_IP=192.168.0.2
FLAT_INTERFACE=eth2
# MULTINODE CONFIGURATION
MULTI_HOST=1
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.168.42.128/25
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
DATABASE_TYPE=mysql
#Controller Node IP
SERVICE_HOST=192.168.0.3
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
ENABLED_SERVICES=n-cpu,n-net,n-api-meta,c-vol
# FOR INSTALLING NEUTRON
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
# Optional, to enable tempest configuration as part of devstack
enable_service tempest