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

Ben Nemec openstack at nemebean.com
Wed Jan 7 15:39:43 UTC 2015


On 01/07/2015 06:18 AM, Sean Dague wrote:
> On 01/07/2015 06:36 AM, James Downs wrote:
>>
>> On Jan 7, 2015, at 12:59 AM, Denis Makogon <dmakogon at mirantis.com
>> <mailto:dmakogon at mirantis.com>> wrote:
>>
>>>
>>> Hello Zhou.
>>>
>>> On Wed, Jan 7, 2015 at 10:39 AM, Zhou, Zhenzan <zhenzan.zhou at intel.com
>>> <mailto: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.
>>
>> That’s true, but the OP was asking whether the region name should be
>> case sensitive or not. 
>>
>> I think it probably makes sense that regionOne should be the same as
>> RegionONE, or RegionOne.
> 
> The general standard in OpenStack has been case sensitivity. There are
> performance and security implications on case insensitive environments.
> 
> It just sounds like tripleo is using a bad default here, and that's what
> should be addressed.

I agree that it's somewhat unfortunate tripleo is using a different
default region name than devstack, but at the same time I wouldn't
expect to be able to use a devstack rc file to talk to a tripleo cloud.
 Tripleo has its own rc files to be used for that.

> 
> 	-Sean
> 




More information about the OpenStack-dev mailing list