[rdo-list] python-keystoneclient (2.3.1-2) make wrong URI call for keystone api V3
Soputhi Sea
puthi at live.com
Mon Jun 27 07:52:58 UTC 2016
Hi,
Thanks for pointing out, i just revisit the document for openstack-dashboard. And here is what i changed, it works now.
/etc/openstack-dashboard/local_settings
#note this option, i thought it enable by defaut but it is not
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}
...
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
Thanks
Puthi
________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Matthias Runge <mrunge at redhat.com>
Sent: Monday, June 27, 2016 12:12 PM
To: rdo-list at redhat.com
Subject: Re: [rdo-list] python-keystoneclient (2.3.1-2) make wrong URI call for keystone api V3
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,
[https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/Red_Hat_RGB.jpg]<http://www.de.redhat.com/>
Red Hat | The world's open source leader<http://www.de.redhat.com/>
www.de.redhat.com
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham,
Michael O'Neill, Eric Shander
_______________________________________________
rdo-list mailing list
rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list
To unsubscribe: rdo-list-unsubscribe at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160627/d9f6bfa4/attachment.html>
More information about the dev
mailing list