[openstack-dev] [keystone]endpoint table is missing reference to region table

Manickam, Kanagaraj kanagaraj.manickam at hp.com
Fri Jun 20 05:14:08 UTC 2014

A)     Yes, we need to migrate.

B)      I have queries:

a.       Region is consumed only in the end-point object in keystone. So when an end point is created, keystone can go ahead and create a region in the “region” table if the region does not exist. Otherwise keystone can bind the existing region with the endpoint. This will make sure that endpoint is having foreign key reference to the region.  I see this as dynamic way of creating the region. Could you please validate the understanding and correct it, if required.

b.      In addition, The endpoint API request & response will be provided with “region” name as like today. So user does not get affected by this change.

Kanagaraj M
From: Dolph Mathews [mailto:dolph.mathews at gmail.com]
Sent: Friday, June 20, 2014 8:41 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [keystone]endpoint table is missing reference to region table

The region table is relatively new, and no one has stepped up to link the two together. A couple considerations:

A) a data migration will need to be performed to sync up the regions in the endpoint table with regions in the region table (populate those foreign keys, creating corresponding regions where necessary)

B) endpoints are created today without requiring a region to be created; this workflow will have to continue for v2 and v3 (regions need to be created dynamically)

On Thu, Jun 19, 2014 at 12:38 PM, Manickam, Kanagaraj <kanagaraj.manickam at hp.com<mailto:kanagaraj.manickam at hp.com>> wrote:

In keystone, though “region” table is provided, it is not consumed in the “endpoint” table. I have filed bug https://bugs.launchpad.net/keystone/+bug/1332196 to address the same.

Can anyone please provide details on, why this disconnect between endpoint and region table.

Kanagaraj M

OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140620/c5ae114a/attachment.html>

More information about the OpenStack-dev mailing list