I'm trying to launch a multi-region cloud with devstack, but keep getting the error message
Could not find resource admin
during the install of devstack on the 2nd region. Openstack itself is not even installed on the 2nd region, while installation runs fine on the 1st one. The only difference I see are some configuration variables in local.conf for the second region:
REGION_NAME
HOST_IP
KEYSTONE_SERVICE_HOST
KEYSTONE_AUTH_HOST
Changed the 2 keystone variables so the 2nd region only authenticates on keystone service installed on the 1st region. Already checked if the regions are accessible to each other using the ping command line, and that the region 1 have an endpoint available for region 2 with keystone service:
openstack endpoint list | grep keystone
Here is a sample of the final output when I run ./stack.sh to install devstack on the 2nd region. I'd appreciate any help. Thanks!
...
devstack/functions-common:time_stop:L2354: START_TIME[$name]=
devstack/functions-common:time_stop:L2355: TOTAL_TIME[$name]=0
./stack.sh:main:L998: is_service_enabled keystone
devstack/functions-common:is_service_enabled:L2046: return 0
./stack.sh:main:L999: echo_summary 'Starting Keystone'
./stack.sh:echo_summary:L379: [[ -t 3 ]]
./stack.sh:echo_summary:L379: [[ True != \T\r\u\e ]]
./stack.sh:echo_summary:L385: echo -e Starting Keystone
./stack.sh:main:L1001: '[' 192.100.100.10 == 192.100.200.10 ']'
./stack.sh:main:L1007: is_service_enabled tls-proxy
/home/stack/devstack/functions-common:is_service_enabled:L2046: return 1
./stack.sh:main:L1016: cat
./stack.sh:main:L1031: source /home/stack/devstack/userrc_early
devstack/userrc_early:source:L4: export OS_IDENTITY_API_VERSION=3
devstack/userrc_early:source:L4: OS_IDENTITY_API_VERSION=3
devstack/userrc_early:source:L5: export OS_AUTH_URL=http://192.100.100.10:35357
devstack/userrc_early:source:L5: OS_AUTH_URL=http://192.100.100.10:35357
devstack/userrc_early:source:L6: export OS_USERNAME=admin
devstack/userrc_early:source:L6: OS_USERNAME=admin
devstack/userrc_early:source:L7: export OS_USER_DOMAIN_ID=default
devstack/userrc_early:source:L7: OS_USER_DOMAIN_ID=default
devstack/userrc_early:source:L8: export OS_PASSWORD=openstack
devstack/userrc_early:source:L8: OS_PASSWORD=openstack
devstack/userrc_early:source:L9: export OS_PROJECT_NAME=admin
devstack/userrc_early:source:L9: OS_PROJECT_NAME=admin
devstack/userrc_early:source:L10: export OS_PROJECT_DOMAIN_ID=default
devstack/userrc_early:source:L10: OS_PROJECT_DOMAIN_ID=default
devstack/userrc_early:source:L11: export OS_REGION_NAME=RegionTwo
devstack/userrc_early:source:L11: OS_REGION_NAME=RegionTwo
./stack.sh:main:L1033: create_keystone_accounts
devstack/lib/keystone:create_keystone_accounts:L376: local admin_tenant
devstack/lib/keystone:create_keystone_accounts:L377: openstack project show admin -f value -c id
Could not find resource admin
devstack/lib/keystone:create_keystone_accounts:L377: admin_tenant=
devstack/lib/keystone:create_keystone_accounts:L1: exit_trap
./stack.sh:exit_trap:L474: local r=1
./stack.sh:exit_trap:L475: jobs -p
./stack.sh:exit_trap:L475: jobs=
./stack.sh:exit_trap:L478: [[ -n '' ]]