Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Openstack multi-region deployment

Hello! I've been trying to deploy Openstack on a multi region setup, with two nodes, one for RegionOne and one for RegionTwo, with the Horizon and Keystone services shared (they both are hosted in RegionOne).
I'm using Ubuntu server Bionic on virtualbox, and devstack for the Openstack config.
Now here's my problem: I've followed the documentation but the configuration for the second region fails, and even though I have the drop down menu to choose between the two regions when I point to the second one I receive the "Unable to retrieve limits information" error
Following the two localrc files and the images of the errors.

[ Localrc for RegionOne ]
DATABASE_PASSWORD=password
ADMIN_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
RABBIT_PASSWORD=password

SWIFT_REPLICAS=1
SWIFT_HASH=011688b44136573e209e
LOGFILE=/opt/stack/logs/stack.sh.log
LOG_COLOR=True

REGION_NAME=RegionOne

  [ Localrc for RegionTwo ]
   DATABASE_PASSWORD=password
   ADMIN_PASSWORD=password
   SERVICE_PASSWORD=password
   SERVICE_TOKEN=password
   RABBIT_PASSWORD=password

   SWIFT_REPLICAS=1
   SWIFT_HASH=011688b44136573e209e
   LOGFILE=/opt/stack/logs/stack.sh.log
   LOG_COLOR=True

   disable_service horizon
   KEYSTONE_SERVICE_HOST=<KEYSTONE_IP_ADDRESS_FROM_REGION_ONE>
   KEYSTONE_AUTH_HOST=<KEYSTONE_IP_ADDRESS_FROM_REGION_ONE>
   REGION_NAME=RegionTwo
   KEYSTONE_REGION_NAME=RegionOne

On the second region the output of the configuration is (cannot upload pictures so I'll sum it up, sorry)

public endpoint for identity service in RegionTwo region not found
Failure creating NET_ID for private [string of numbers and letters]
Error on exit
neutron-dhcp-agent: no process found
neutron-l3-agent: no process found
neutron-metadata-agent: no process found
neutron-openvswitch-agent: no process found

Openstack multi-region deployment

Hello! I've been trying to deploy Openstack on a multi region setup, with two nodes, one for RegionOne and one for RegionTwo, with the Horizon and Keystone services shared (they both are hosted in RegionOne).
I'm using Ubuntu server Bionic on virtualbox, and devstack for the Openstack config.config. Each vm has two network interfaces: one host only and one nat.
Now here's my problem: I've followed the documentation but the configuration for the second region fails, and even though I have the drop down menu to choose between the two regions when I point to the second one I receive the "Unable to retrieve limits information" error
Following the two localrc files and the images of the errors.

[ Localrc for RegionOne ]
DATABASE_PASSWORD=password
ADMIN_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
RABBIT_PASSWORD=password

SWIFT_REPLICAS=1
SWIFT_HASH=011688b44136573e209e
LOGFILE=/opt/stack/logs/stack.sh.log
LOG_COLOR=True

REGION_NAME=RegionOne

  [ Localrc for RegionTwo ]
   DATABASE_PASSWORD=password
   ADMIN_PASSWORD=password
   SERVICE_PASSWORD=password
   SERVICE_TOKEN=password
   RABBIT_PASSWORD=password

   SWIFT_REPLICAS=1
   SWIFT_HASH=011688b44136573e209e
   LOGFILE=/opt/stack/logs/stack.sh.log
   LOG_COLOR=True

   disable_service horizon
   KEYSTONE_SERVICE_HOST=<KEYSTONE_IP_ADDRESS_FROM_REGION_ONE>
   KEYSTONE_AUTH_HOST=<KEYSTONE_IP_ADDRESS_FROM_REGION_ONE>
   REGION_NAME=RegionTwo
   KEYSTONE_REGION_NAME=RegionOne

On the second region the output of the configuration is (cannot upload pictures so I'll sum it up, sorry)Error in output:

public  --os-region RegionTwo network create --project d4ca2f39abb34af1b25afe4c47b69f75 private
admin endpoint for identity service in RegionTwo region not found
++functions-common:oscwrap:2288             out=
++functions-common:oscwrap:2289             rc=1
+++functions-common:oscwrap:2290             date +%s%3N
++functions-common:oscwrap:2290             end=1578581307686
++functions-common:oscwrap:2291             echo 1325
++functions-common:oscwrap:2293             echo ''
++functions-common:oscwrap:2294             return 1
+lib/neutron_plugins/services/l3:create_neutron_initial_network:215  NET_ID=
+lib/neutron_plugins/services/l3:create_neutron_initial_network:216  die_if_not_set 216 NET_ID 'Failure creating NET_ID for private d4ca2f39abb34af1b25afe4c47b69f75'
+functions-common:die_if_not_set:205       local exitcode=0
[Call Trace]
./stack.sh:1328:create_neutron_initial_network
/home/stack/devstack/lib/neutron_plugins/services/l3:216:die_if_not_set
/home/stack/devstack/functions-common:212:die
[ERROR] /home/stack/devstack/functions-common:216 Failure creating NET_ID for private [string of numbers and letters]
d4ca2f39abb34af1b25afe4c47b69f75
Error on exit
neutron-dhcp-agent: no process found
neutron-l3-agent: no process found
neutron-metadata-agent: no process found
neutron-openvswitch-agent: no process found

Openstack multi-region deployment

Hello! I've been trying to deploy Openstack on a multi region setup, with two nodes, one for RegionOne and one for RegionTwo, with the Horizon and Keystone services shared (they both are hosted in RegionOne).
I'm using Ubuntu Bionic on virtualbox, and devstack for the Openstack config. Each vm has two network interfaces: one host only and one nat.
Now here's my problem: I've followed the documentation but the configuration for the second region fails, and even though I have the drop down menu to choose between the two regions when I point to the second one I receive the "Unable to retrieve limits information" error
Following the two localrc files and the images of the errors.

[ Localrc for RegionOne ]
DATABASE_PASSWORD=password
ADMIN_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
RABBIT_PASSWORD=password

SWIFT_REPLICAS=1
SWIFT_HASH=011688b44136573e209e
LOGFILE=/opt/stack/logs/stack.sh.log
LOG_COLOR=True

REGION_NAME=RegionOne

  [ Localrc for RegionTwo ]
   DATABASE_PASSWORD=password
   ADMIN_PASSWORD=password
   SERVICE_PASSWORD=password
   SERVICE_TOKEN=password
   RABBIT_PASSWORD=password

   SWIFT_REPLICAS=1
   SWIFT_HASH=011688b44136573e209e
   LOGFILE=/opt/stack/logs/stack.sh.log
   LOG_COLOR=True

   disable_service horizon
   KEYSTONE_SERVICE_HOST=<KEYSTONE_IP_ADDRESS_FROM_REGION_ONE>
   KEYSTONE_AUTH_HOST=<KEYSTONE_IP_ADDRESS_FROM_REGION_ONE>
   REGION_NAME=RegionTwo
   KEYSTONE_REGION_NAME=RegionOne

Error in output:

 --os-region RegionTwo network create --project d4ca2f39abb34af1b25afe4c47b69f75 private
admin endpoint for identity service in RegionTwo region not found
++functions-common:oscwrap:2288             out=
++functions-common:oscwrap:2289             rc=1
+++functions-common:oscwrap:2290             date +%s%3N
++functions-common:oscwrap:2290             end=1578581307686
++functions-common:oscwrap:2291             echo 1325
++functions-common:oscwrap:2293             echo ''
++functions-common:oscwrap:2294             return 1
+lib/neutron_plugins/services/l3:create_neutron_initial_network:215  NET_ID=
+lib/neutron_plugins/services/l3:create_neutron_initial_network:216  die_if_not_set 216 NET_ID 'Failure creating NET_ID for private d4ca2f39abb34af1b25afe4c47b69f75'
+functions-common:die_if_not_set:205       local exitcode=0
[Call Trace]
./stack.sh:1328:create_neutron_initial_network
/home/stack/devstack/lib/neutron_plugins/services/l3:216:die_if_not_set
/home/stack/devstack/functions-common:212:die
[ERROR] /home/stack/devstack/functions-common:216 Failure creating NET_ID for private d4ca2f39abb34af1b25afe4c47b69f75
Error on exit