Openstack multi-region deployment

asked 2020-01-06 09:23:11 -0600

Chiara S gravatar image

updated 2020-01-10 10:53:48 -0600

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
edit retag flag offensive close merge delete