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

Steve Martinelli s.martinelli at gmail.com
Thu Sep 29 03:19:35 UTC 2016


We may have to ask Adam or Dolph, or pull out the history textbook for this
one. I imagine that trying to not bloat the token was definitely a concern.
IIRC User name was 64 also, but we had to increase to 255 because we're not
in control of name that comes from external sources (like LDAP).

On Wed, Sep 28, 2016 at 11:06 PM, Adrian Turjak <adriant at catalyst.net.nz>
wrote:

> Hello Keystone Devs,
>
> Just curious as to the choice to have the project name be only 64
> characters:
> https://github.com/openstack/keystone/blob/master/keystone/
> resource/backends/sql.py#L241
>
> Seems short, and an odd choice when the user.name field is 255 characters:
> https://github.com/openstack/keystone/blob/master/keystone/
> identity/backends/sql_model.py#L216
>
> Is there a good reason for it only being 64 characters, or is this just
> something that was done a long time ago and no one thought about it?
>
> Not hugely important, just seemed odd and may prove limiting for
> something I'm playing with.
>
> Cheers,
> Adrian Turjak
>
>
> __________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160928/42d3c5be/attachment.html>


More information about the OpenStack-dev mailing list