On Fri, Jun 20, 2014 at 12:14 AM, Manickam, Kanagaraj < kanagaraj.manic...@hp.com> wrote:
> 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. > +1; note this approach in a proposal to keystone-specs, though. > 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. > +1; but we also deprecated that attribute ("region") as of Identity API v3.2 in favor of "region_id" [1] for consistency across the API. For backwards compatibility, we'll need to handle both attributes. [1] https://github.com/openstack/identity-api/blob/master/v3/src/markdown/identity-api-v3.md#endpoints-v3endpoints > > > Regards, > > Kanagaraj M > > *From:* Dolph Mathews [mailto:dolph.math...@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.manic...@hp.com> wrote: > > Hi, > > > > 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. > > > > Thanks > > Kanagaraj M > > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev