[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com <rdo-list-bounces redhat com> on behalf of Matthias Runge <mrunge redhat com>
Sent: Monday, June 27, 2016 12:12 PM
To: rdo-list 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 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

_______________________________________________
rdo-list mailing list
rdo-list redhat com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]