[openstack-dev] [Keystone] Should region name be case insensitive?

Denis Makogon dmakogon at mirantis.com
Wed Jan 7 08:59:09 UTC 2015


Hello Zhou.

On Wed, Jan 7, 2015 at 10:39 AM, Zhou, Zhenzan <zhenzan.zhou at intel.com>
wrote:

>     Hi,
>
>
>
> I meet such an issue when using glance/nova client deployed with Devstack
> to talk with a cloud deployed with TripleO:
>
>
>
> [minicloud at minicloud allinone]$ glance image-list
>
> public endpoint for image service in RegionOne region not found
>
>
>
Both glance/nova python client libraries allows users to specify region
name (see http://docs.openstack.org/user-guide/content/sdk_auth_nova.html).
So, you are free to metion any region you want.


>  The reason is that Devstack uses “RegionOne” as default but TripleO uses
> “regionOne” and
>
> keystoneclient/service_catalog.py: get_endpoints() does a case sensitive
> string compare.
>
>
>
> I’m not a DB expert but normally database does case insensitive collation,
> so should we use do case insensitive compare here?
>
> Thanks a lot.
>
>
>
> BR
>
> Zhou Zhenzan
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
Kind regards,
Denis M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150107/be7df100/attachment.html>


More information about the OpenStack-dev mailing list