[openstack-dev] [horizon] [keystone] [docs] Two kinds of 'region' entity: finding better names for them

Douglas Fish drfish at us.ibm.com
Wed Jul 8 13:10:38 UTC 2015


Timur Sufiev <tsufiev at mirantis.com> wrote on 07/08/2015 07:50:49 AM:

> From: Timur Sufiev <tsufiev at mirantis.com>
> To: "OpenStack Development Mailing List (not for usage questions)"
> <openstack-dev at lists.openstack.org>
> Date: 07/08/2015 07:53 AM
> Subject: [openstack-dev] [horizon] [keystone] [docs] Two kinds of
> 'region' entity: finding better names for them
>
> Hello, folks!
>
> Somehow it happened that we have 2 different kinds of regions: the
> service regions inside Keystone catalog and AVAILABLE_REGIONS
> setting inside Horizon, yet use the same name 'regions' for both of
> them. That creates a lot of confusion when solving some region-
> related issues at the Horizon/Keystone junction, even explaining
> what is exactly being broken poses a serious challenge when our
> common language has such a flaw!
>
> I propose to invent 2 distinct terms for these entities, so at least
> we won't be terminologically challenged when fixing the related bugs.
>
__________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Hey Timur, thanks for starting this discussion!

I just had some confusion over this within the last few weeks as well. I
think that Horizon's use of regions to reference service regions in the
keystone catalog is the "correct" usage and the one we should maintain.

AVAILABLE_REGIONS is a Horizon setting that lets you configure multiple
independent keystone endpoints to be known to Horizon.
http://docs.openstack.org/developer/horizon/topics/settings.html
I don't think that's the usual meaning of "Region" in OpenStack, but
Horizon has labelled both the service catalog and multiple keystone related
widgets in the UI as "Regions". I guess we just hope people don't enable
both, or can guess the meaning from the values.

Doug





More information about the OpenStack-dev mailing list