2016-01-29 03:26:29.317 | + source /home/stack/devstack/userrc_early 2016-01-29 03:26:29.317 | ++ export OS_IDENTITY_API_VERSION=3 2016-01-29 03:26:29.317 | ++ OS_IDENTITY_API_VERSION=3 2016-01-29 03:26:29.318 | ++ export OS_AUTH_URL=http://192.168.56.101:35357 2016-01-29 03:26:29.318 | ++ OS_AUTH_URL=http://192.168.56.101:35357 2016-01-29 03:26:29.318 | ++ export OS_USERNAME=admin 2016-01-29 03:26:29.318 | ++ OS_USERNAME=admin 2016-01-29 03:26:29.318 | ++ export OS_USER_DOMAIN_ID=default 2016-01-29 03:26:29.318 | ++ OS_USER_DOMAIN_ID=default 2016-01-29 03:26:29.318 | ++ export OS_PASSWORD=nypnyp0316 2016-01-29 03:26:29.318 | ++ OS_PASSWORD=nypnyp0316 2016-01-29 03:26:29.319 | ++ export OS_PROJECT_NAME=admin 2016-01-29 03:26:29.319 | ++ OS_PROJECT_NAME=admin 2016-01-29 03:26:29.319 | ++ export OS_PROJECT_DOMAIN_ID=default 2016-01-29 03:26:29.319 | ++ OS_PROJECT_DOMAIN_ID=default 2016-01-29 03:26:29.319 | ++ export OS_REGION_NAME=RegionTwo 2016-01-29 03:26:29.319 | ++ OS_REGION_NAME=RegionTwo 2016-01-29 03:26:29.319 | + create_keystone_accounts 2016-01-29 03:26:29.319 | + local admin_tenant 2016-01-29 03:26:29.320 | ++ openstack project show admin -f value -c id 2016-01-29 03:26:30.624 | Could not find resource admin 2016-01-29 03:26:30.667 | + admin_tenant= 2016-01-29 03:26:30.668 | + exit_trap 2016-01-29 03:26:30.668 | + local r=1 2016-01-29 03:26:30.669 | ++ jobs -p 2016-01-29 03:26:30.671 | + jobs= 2016-01-29 03:26:30.672 | + [[ -n '' ]] 2016-01-29 03:26:30.672 | + kill_spinner 2016-01-29 03:26:30.672 | + '[' '!' -z '' ']' 2016-01-29 03:26:30.672 | + [[ 1 -ne 0 ]] 2016-01-29 03:26:30.673 | + echo 'Error on exit' 2016-01-29 03:26:30.674 | Error on exit 2016-01-29 03:26:30.675 | + generate-subunit 1454037870 120 fail 2016-01-29 03:26:31.045 | + [[ -z /opt/stack/logs ]] 2016-01-29 03:26:31.045 | + /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs 2016-01-29 03:26:31.111 | df: '/run/user/112/gvfs': Permission denied 2016-01-29 03:26:31.312 | + exit 1
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 http://docs.openstack.org/developer/devstack/configuration.html#multi-region-setup 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. I have report the bug, seen in https://bugs.launchpad.net/devstack/+bug/1540802.
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev