[openstack-dev] [tricircle] Playing Tricircle with Devstack
Vega Cai
luckyvega.g at gmail.com
Tue Jan 26 09:23:04 UTC 2016
Hi Yipei,
I checked the Git commit history of DevStack and found a recent commit
changed the order of sourcing userrc_early and creating keystone account.
Before the commit, DevStack created keystone account before sourced
userrc_early so there was not problem. After the commit, now,
DevStack sources userrc_early before creates keystone account,
OS_REGION_NAME is changed to REGION_NAME(Pod2), keystone tries to find
tenant admin in Pod2, and thus fails.
However, we do need to set REGION_NAME as Pod2 in node2, because we would
to setup another region in node2.
Maybe you can change stack.sh a bit, change line 1025 from
export OS_REGION_NAME=$REGION_NAME
to
export OS_REGION_NAME=RegionOne
so keystone can use the correct region.
OR
remove line 1031
create_keystone_accounts
Since we don't need to setup keystone account in node2.
If my analysis is correct, this is a bug of DevStack which stops supporting
multiple region deployment.
On 26 January 2016 at 14:28, joehuang <joehuang at huawei.com> wrote:
> Except paste the result for the command with –debug parameter "openstack
> --debug project show admin -f value -c id" in Node2, please also attach
> your configuration file in Node1 and Node2 ( local.conf in the devstack
> folder )
>
>
>
> Best Regards
>
> Chaoyi Huang ( Joe Huang )
>
>
>
> *From:* Vega Cai [mailto:luckyvega.g at gmail.com]
> *Sent:* Tuesday, January 26, 2016 10:03 AM
> *To:* OpenStack Development Mailing List (not for usage questions)
> *Subject:* Re: [openstack-dev] [tricircle] Playing Tricircle with Devstack
>
>
>
> Strange... One suggestion to dig into this problem is that you add a
> "--debug" parameter to the command like:
>
>
>
> "openstack --debug project show admin -f value -c id"
>
>
>
> and run DevStack again. With "--debug" parameter, OpenStack client will
> print out raw HTTP request and response so may bring you more information
> to find out the cause of the problem.
>
>
>
> On 25 January 2016 at 22:21, Zhipeng Huang <zhipengh512 at gmail.com> wrote:
>
> cc'ed Joe.
>
>
>
> Yipei I think you could refer to this bug:
> https://bugs.launchpad.net/devstack/+bug/1490950
>
>
>
> On Mon, Jan 25, 2016 at 4:13 PM, Yipei Niu <newypei at gmail.com> wrote:
>
> There doesn't any problems when installing devstack on node1. However,
> when install devstack to node2, I encounter an error and the trace is as
> follows:
>
>
>
> 2016-01-25 07:40:47.068 | + echo -e Starting Keystone
>
> 2016-01-25 07:40:47.069 | + '[' 192.168.56.101 == 192.168.56.102 ']'
>
> 2016-01-25 07:40:47.070 | + is_service_enabled tls-proxy
>
> 2016-01-25 07:40:47.091 | + return 1
>
> 2016-01-25 07:40:47.091 | + cat
>
> 2016-01-25 07:40:47.093 | + source /home/stack/devstack/userrc_early
>
> 2016-01-25 07:40:47.095 | ++ export OS_IDENTITY_API_VERSION=3
>
> 2016-01-25 07:40:47.095 | ++ OS_IDENTITY_API_VERSION=3
>
> 2016-01-25 07:40:47.095 | ++ export OS_AUTH_URL=
> http://192.168.56.101:35357
>
> 2016-01-25 07:40:47.095 | ++ OS_AUTH_URL=http://192.168.56.101:35357
>
> 2016-01-25 07:40:47.095 | ++ export OS_USERNAME=admin
>
> 2016-01-25 07:40:47.095 | ++ OS_USERNAME=admin
>
> 2016-01-25 07:40:47.095 | ++ export OS_USER_DOMAIN_ID=default
>
> 2016-01-25 07:40:47.095 | ++ OS_USER_DOMAIN_ID=default
>
> 2016-01-25 07:40:47.096 | ++ export OS_PASSWORD=nypnyp0316
>
> 2016-01-25 07:40:47.096 | ++ OS_PASSWORD=nypnyp0316
>
> 2016-01-25 07:40:47.096 | ++ export OS_PROJECT_NAME=admin
>
> 2016-01-25 07:40:47.097 | ++ OS_PROJECT_NAME=admin
>
> 2016-01-25 07:40:47.098 | ++ export OS_PROJECT_DOMAIN_ID=default
>
> 2016-01-25 07:40:47.099 | ++ OS_PROJECT_DOMAIN_ID=default
>
> 2016-01-25 07:40:47.100 | ++ export OS_REGION_NAME=Pod2
>
> 2016-01-25 07:40:47.101 | ++ OS_REGION_NAME=Pod2
>
> 2016-01-25 07:40:47.102 | + create_keystone_accounts
>
> 2016-01-25 07:40:47.105 | + local admin_tenant
>
> 2016-01-25 07:40:47.111 | ++ openstack project show admin -f value -c id
>
> 2016-01-25 07:40:48.408 | Could not find resource admin
>
> 2016-01-25 07:40:48.452 | + admin_tenant=
>
> 2016-01-25 07:40:48.453 | + exit_trap
>
> 2016-01-25 07:40:48.454 | + local r=1
>
> 2016-01-25 07:40:48.456 | ++ jobs -p
>
> 2016-01-25 07:40:48.461 | + jobs=
>
> 2016-01-25 07:40:48.464 | + [[ -n '' ]]
>
> 2016-01-25 07:40:48.464 | + kill_spinner
>
> 2016-01-25 07:40:48.464 | + '[' '!' -z '' ']'
>
> 2016-01-25 07:40:48.464 | + [[ 1 -ne 0 ]]
>
> 2016-01-25 07:40:48.464 | + echo 'Error on exit'
>
> 2016-01-25 07:40:48.464 | Error on exit
>
> 2016-01-25 07:40:48.464 | + generate-subunit 1453707531 117 fail
>
> 2016-01-25 07:40:48.885 | + [[ -z /opt/stack/logs ]]
>
> 2016-01-25 07:40:48.886 | + /home/stack/devstack/tools/worlddump.py -d
> /opt/stack/logs
>
> 2016-01-25 07:40:48.944 | df: '/run/user/112/gvfs': Permission denied
>
> 2016-01-25 07:40:49.166 | + exit 1
>
>
>
> Could you please give me some advice on solving it?
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
>
> --
>
> Zhipeng (Howard) Huang
>
>
>
> Standard Engineer
>
> IT Standard & Patent/IT Prooduct Line
>
> Huawei Technologies Co,. Ltd
>
> Email: huangzhipeng at huawei.com
>
> Office: Huawei Industrial Base, Longgang, Shenzhen
>
>
>
> (Previous)
>
> Research Assistant
>
> Mobile Ad-Hoc Network Lab, Calit2
>
> University of California, Irvine
>
> Email: zhipengh at uci.edu
>
> Office: Calit2 Building Room 2402
>
>
>
> OpenStack, OPNFV, OpenDaylight, OpenCompute Aficionado
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160126/c0ebfc5d/attachment.html>
More information about the OpenStack-dev
mailing list