Ask Your Question
0

how to migrate keystone identity api version 3 to 2.0?

asked 2015-07-07 06:42:59 -0600

BhavaniPrasad gravatar image

updated 2015-07-07 12:10:09 -0600

Hi,

Currently my endpoint is created in following way.

Service: identity
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminURL  |  http://172.16.73.63:35357/v2.0  |
|      id     | 4115f50e6b1c4afd81437eab5cf772af |
| internalURL |  http://172.16.73.63:5000/v2.0   |
|  publicURL  |  http://172.16.73.63:5000/v2.0   |
|    region   |            RegionOne             |
+-------------+----------------------------------+

Here i am pointing to v2.0 but if you see keystone-paste.ini it is pointing to v3.

[app:service_v3]
paste.app_factory = keystone.service:v3_app_factory

pipeline = sizelimit url_normalize build_auth_context token_auth admin_token_auth xml_body_v3 json_body ec2_extension_v3 s3_extension simple_cert_extension revoke_extension service_v3


[composite:main]
use = egg:Paste#urlmap
/v2.0 = public_api
/v3 = api_v3
/ = public_version_api

[composite:admin]
use = egg:Paste#urlmap
/v2.0 = admin_api
/v3 = api_v3
/ = admin_version_api

So i am totally confused between this . Please guide me how can i use idenity v2.0 api's?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-07 12:14:41 -0600

Keystone-paste.ini just lists the supported apis. (ie.) it supports both v2 and v3. If you are using opensackclient to invoke v3 api, whatever in catalog doesn't matter as openstackclietn doesn't use any values from catalog..

To summarize, With your settings, you can still use V2.0 APIs and V3 APIs. You don't need to change anything

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-07 06:42:59 -0600

Seen: 151 times

Last updated: Jul 07 '15