[openstack-dev] [qa][devstack][keystone] Updating devstack to Identity V3

Adam Young ayoung at redhat.com
Fri Aug 14 14:05:58 UTC 2015


On 08/14/2015 06:47 AM, Ihar Hrachyshka wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 08/14/2015 08:15 AM, Jamie Lennox wrote:
>> Hi all,
>>
>> I've been pushing for a while now to convert devstack to completely
>> use the identity v3 API as we try to deprecate the v2.0 API.
>> Currently all the functions in functions-common consume the v3 API
>> via setting --os -identity-api-version 3 for each command to
>> override the v2 default. https://review.openstack.org/#/c/186684/
>> changes this by exporting OS_IDENTITY_API_VERSION=3 at the
>> beginning meaning that all keystone commands will now default to
>> the v3 api.
>>
> Recently I started to experience an 'empty service catalog' error from
> neutron client when trying to execute any commands that can be fixed
> by doing:
>
> $ neutron router-list
> The service catalog is empty.
> $ export OS_TENANT_NAME=demo
> $ neutron router-list
> ...proper output...
>
> Is it somehow related to v3 work? Do we validate that clients behave
> properly in devstack gate?

Maybe.  It looks, though, like you are getting an unscoped token when 
you were before getting a scoped token, and that is not a V2 vs V3 
issue.  It might be a result of some other change that no longer sets a 
default project for a user?

> Ihar
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJVzcc9AAoJEC5aWaUY1u57nuoIAKO4wmLfOfG8vifHsUGqzazs
> Kenuyrh+AEC1u7qNlsjnWFGKl/H2H7OT6uTD7Js6U+PW1HIif9TJdJUD2cfGSLuE
> m368pN83U0QlA38vR/ubMAeXDc9E1bmCF39NSuvvE0ld7zckI7PjuFCx7FsYAknm
> oZQY3LHygRXWCoEvVzO/VsW6jVwYBSWd+SE9U9Qv/lNhYo3CJaGY63z74v7nCEIK
> w/YIH+KXUII1Hjho8VaJOpde0xvjXYrjyMG0UaWGy/sH92RNnNeU21C3pJYrU70O
> xi4vZGY2KFXOZF3ogjuRSqDhA6aCf3Qw3bEu6SOscDxrT3YzyGByxnaSOR9vpZg=
> =nT61
> -----END PGP SIGNATURE-----
>
> __________________________________________________________________________
> 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




More information about the OpenStack-dev mailing list