[rdo-list] python-keystoneclient (2.3.1-2) make wrong URI call for keystone api V3

Matthias Runge mrunge at redhat.com
Mon Jun 27 05:12:27 UTC 2016


On 24/06/16 09:34, Soputhi Sea wrote:

> 
> You can see here the URI "/v3/tenants" should be "/v2.0/tenants" or
> "/v3/projects" (i think)
> 
> and /v3/tokens should be "/v2.0/tokens" or "/v3/auth/tokens"
> 
> 
> So i wonder if this is a bug in the python-keystoneclient or is there
> any configuration i can do to force the client/keystone/horizon to use a
> proper URI call?
> 
> 
> As a side, i applied a workaround to fix this issue by creating a
> redirect rule in apache as follow
> 
> RewriteEngine on
> Redirect /v3/tenants /v2.0/tenants
> Redirect /v3/tokens /v2.0/tokens
> 
> Thanks in advance for any help.
> 
> Puthi
> 

Horizon gets endpoints from keystone catalog.
Initial authentication URL is configured in
/etc/openstack-dashboard/local_settings,
and following interactions with API endpoints use settings from keystone.

openstack catalog list

will show you your configured endpoints.


-- 
Matthias Runge <mrunge at redhat.com>

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham,
                    Michael O'Neill, Eric Shander




More information about the dev mailing list