[openstack-dev] [Keystone] Project name DB length

gordon chung gord at live.ca
Mon Oct 3 14:52:35 UTC 2016



On 28/09/2016 11:52 PM, Adrian Turjak wrote:
>
> Plus although there is no true official standard, most projects in
> OpenStack seem to use 255 as the default for a lot of string fields.
> Weirdly enough, a lot of projects seem to use 255 even for project.id,
> which seeing as it's 64 in keystone, and a uuid4 anyway, seems like a
> bit of a waste.

this was brought up a year ago[1] as a broader issue in OpenStack. 255 
bytes for id is weird especially as you mentioned if it's only a uuid. 
but yeah, Morgan's reply might reflect why you it is a length of 255.

the original thread died pretty quickly; it didn't seem like an issue to 
anyone or needed fixing... if only there was a global council that 
worked on such technical things :P

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-June/068104.html

cheers,
-- 
gord



More information about the OpenStack-dev mailing list