<div dir="ltr"><p style="margin:0px 0px 1.2em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:18px">2016-01-29 03:26:29.317 | + source /home/stack/devstack/userrc_early<br>2016-01-29 03:26:29.317 | ++ export OS_IDENTITY_API_VERSION=3<br>2016-01-29 03:26:29.317 | ++ OS_IDENTITY_API_VERSION=3<br>2016-01-29 03:26:29.318 | ++ export OS_AUTH_URL=<a rel="nofollow" href="http://192.168.56.101:35357/" target="_blank" style="color:rgb(0,51,170);text-decoration:none">http://192.168.56.101:35357</a><br>2016-01-29 03:26:29.318 | ++ OS_AUTH_URL=<a rel="nofollow" href="http://192.168.56.101:35357/" target="_blank" style="color:rgb(0,51,170);text-decoration:none">http://192.168.56.101:35357</a><br>2016-01-29 03:26:29.318 | ++ export OS_USERNAME=admin<br>2016-01-29 03:26:29.318 | ++ OS_USERNAME=admin<br>2016-01-29 03:26:29.318 | ++ export OS_USER_DOMAIN_ID=default<br>2016-01-29 03:26:29.318 | ++ OS_USER_DOMAIN_ID=default<br>2016-01-29 03:26:29.318 | ++ export OS_PASSWORD=nypnyp0316<br>2016-01-29 03:26:29.318 | ++ OS_PASSWORD=nypnyp0316<br>2016-01-29 03:26:29.319 | ++ export OS_PROJECT_NAME=admin<br>2016-01-29 03:26:29.319 | ++ OS_PROJECT_NAME=admin<br>2016-01-29 03:26:29.319 | ++ export OS_PROJECT_DOMAIN_ID=default<br>2016-01-29 03:26:29.319 | ++ OS_PROJECT_DOMAIN_ID=default<br>2016-01-29 03:26:29.319 | ++ export OS_REGION_NAME=RegionTwo<br>2016-01-29 03:26:29.319 | ++ OS_REGION_NAME=RegionTwo<br>2016-01-29 03:26:29.319 | + create_keystone_accounts<br>2016-01-29 03:26:29.319 | + local admin_tenant<br>2016-01-29 03:26:29.320 | ++ openstack project show admin -f value -c id<br>2016-01-29 03:26:30.624 | Could not find resource admin<br>2016-01-29 03:26:30.667 | + admin_tenant=<br>2016-01-29 03:26:30.668 | + exit_trap<br>2016-01-29 03:26:30.668 | + local r=1<br>2016-01-29 03:26:30.669 | ++ jobs -p<br>2016-01-29 03:26:30.671 | + jobs=<br>2016-01-29 03:26:30.672 | + [[ -n '' ]]<br>2016-01-29 03:26:30.672 | + kill_spinner<br>2016-01-29 03:26:30.672 | + '[' '!' -z '' ']'<br>2016-01-29 03:26:30.672 | + [[ 1 -ne 0 ]]<br>2016-01-29 03:26:30.673 | + echo 'Error on exit'<br>2016-01-29 03:26:30.674 | Error on exit<br>2016-01-29 03:26:30.675 | + generate-subunit 1454037870 120 fail<br>2016-01-29 03:26:31.045 | + [[ -z /opt/stack/logs ]]<br>2016-01-29 03:26:31.045 | + /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs<br>2016-01-29 03:26:31.111 | df: '/run/user/112/gvfs': Permission denied<br>2016-01-29 03:26:31.312 | + exit 1</p><p style="margin:0px 0px 1.2em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:18px">Under the multi-region setting, two devstack, i.e., RegionOne and RegionTwo, share the same Keystone service in RegionOne. The file of local.conf of RegionTwo is set as <a rel="nofollow" href="http://docs.openstack.org/developer/devstack/configuration.html#multi-region-setup" target="_blank" style="color:rgb(0,51,170);text-decoration:none">http://docs.openstack.org/developer/devstack/configuration.html#multi-region-setup</a> indicated. In the configuration, the REGION_NAME is set as "RegionTwo". Correspondingly, OS_REGION_NAME is set as "RegionTwo" as well based on "export OS_REGION_NAME=$REGION_NAME" in stack.sh. When executing "openstack project show admin -f value -c id", it hence fails finding resource admin in RegionTwo instead of RegionOne.</p><p style="margin:0px 0px 1.2em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:18px">I have reported the bug, seen in <a href="https://bugs.launchpad.net/devstack/+bug/1540802" target="_blank">https://bugs.launchpad.net/devstack/+bug/1540802</a>.</p></div>