Ask Your Question
1

What are implication of using both v2.0 and v3 endpoint of keystone

asked 2015-05-21 13:07:18 -0500

deeghuge gravatar image

updated 2015-05-21 20:21:01 -0500

SGPJ gravatar image

Hello, I have created setup of keystone with both keystone v2.0 and v3 api endpoints. As of now both are working fine. I am able list user using both endpoints. Swift is also working with this setup.

I wanted to know whether it is supported configuration ? Are there any problem associated with this type configuration ? What thing should one take care for this configuration apart from using single default domain.

[root@dgnode3 ~]# openstack endpoint list

+----------------------------------+--------+--------------+--------------+---------+-----------+------------------------------------------+
| ID                               | Region | Service Name | Service Type | Enabled | Interface | URL                                      |
+----------------------------------+--------+--------------+--------------+---------+-----------+------------------------------------------+
| 03d3ad0b3a9e4d5a9eb3ef881ac89a65 | None   | keystone     | identity     | True    | public    | http://dgnode:5000/v3                    |
| 7b084e6608814c008ad6cc5d806a82a0 | None   | keystone     | identity     | True    | internal  | http://dgnode:35357/v3                   |
| 6bc98d0c8144454a89ded53c7d058ab8 | None   | keystone     | identity     | True    | admin     | http://dgnode:35357/v3                   |
| 9eaecbb963964722a01ba16e4bd43366 | None   | swift        | object-store | True    | public    | http://dgnode:8080/v1/AUTH_%(tenant_id)s |
| 1eb6d2d75d6b43c8907febc471f8f9de | None   | swift        | object-store | True    | internal  | http://dgnode:8080/v1/AUTH_%(tenant_id)s |
| 242edf0f3de8408398b6d1a91869a128 | None   | swift        | object-store | True    | admin     | http://dgnode:8080                       |
| 352a981b447343969b46aacd5114b036 | None   | keystone     | identity     | True    | public    | http://dgnode:5000/v2.0                  |
| e8e9b574e0e4455696f25f8141412ab5 | None   | keystone     | identity     | True    | internal  | http://dgnode:35357/v2.0                 |
| 9077587e5cbd44dcaaaeaa77b7b48760 | None   | keystone     | identity     | True    | admin     | http://dgnode:35357/v2.0
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-22 11:36:03 -0500

updated 2015-05-22 16:02:32 -0500

Depends on what version you have. Kilo won't have any problem. Better approach is to use version less endpoint in keystone. (i.e) You need only one endpoint which doesn't have any version. Keystone client library will automatically discover versions

ie. http://dgnode:35357

edit flag offensive delete link more

Comments

Getting following error with versionless endpoint

[root@dgnode3 ~]# keystone --os-username deepak --os-password test01 --os-tenant-name admin --os-auth-url http://dgnode:35357/ user-list
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated.
deeghuge gravatar imagedeeghuge ( 2015-06-23 23:56:48 -0500 )edit

Don't use keystone CLI. Use openstack CLI. If you use keystone CLI ( which is v2), you need to have endpont with v2.0 as version. Please use openstack cli. http://docs.openstack.org/developer/p...

Haneef Ali gravatar imageHaneef Ali ( 2015-06-24 11:30:45 -0500 )edit

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-05-21 13:07:18 -0500

Seen: 1,209 times

Last updated: May 22 '15