[keystone] How to create a session using trust-scoped token

Lingxian Kong anlin.kong at gmail.com
Thu May 7 05:47:26 UTC 2020


On Thu, May 7, 2020 at 11:30 AM Nikolla, Kristi <knikolla at bu.edu> wrote:

> The issue here is that keystoneauth usually treats all authentication
> methods the same, and uses them to authenticate and get another token. As
> you see the error in your log, trust scoped tokens can't create another
> token, so the authentication fails.
>
> Some clients provide a mechanism for you to input the token and
> endpoint_url directly without requiring keystoneauth. See below and try
> that.
>
>
> https://github.com/openstack/python-neutronclient/blob/master/neutronclient/client.py#L61-L62


Thanks again Kristi, it does work.
---
Lingxian Kong
Senior Software Engineer
Catalyst Cloud
www.catalystcloud.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200507/f108af2e/attachment.html>


More information about the openstack-discuss mailing list