yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #57747
[Bug 1631517] Re: No formal statement of project name restrictions
Reviewed: https://review.openstack.org/385241
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=1974f2d5dc1e24d1c67258c48f2a5da0dd846cd1
Submitter: Jenkins
Branch: master
commit 1974f2d5dc1e24d1c67258c48f2a5da0dd846cd1
Author: Steve Martinelli <s.martinelli@xxxxxxxxx>
Date: Tue Oct 11 22:46:10 2016 -0400
[api] add a note about project name restrictions
Mention that project names are limited to domain, 64 characters,
and utf8 support depends on the given backend.
Change-Id: Idc266d693c9e81d2bc9b51f20ad5f1282bda5721
Closes-Bug: 1631517
** Changed in: keystone
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1631517
Title:
No formal statement of project name restrictions
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
I am unable to find any official documentation on project name
restrictions. The only two that can be found are 1. It must be uniqe
within the domain and 2. No more than 64 characters.
http://developer.openstack.org/api-ref/identity/v3/?expanded=create-project-detail only states:
"name: The name of the project, which must be unique within the owning domain. A project can have the same name as its domain."
https://github.com/openstack/tempest/blob/master/tempest/api/identity/admin/v3/test_projects_negative.py#L60-L64
shows there is a 64 character limit.
The name must be sent in a valid json which could be any utf-8 character, but does that always work within limits of all backends that use MySQL. MySQL's restrictions state utf-8, but "can contain only characters in the Basic Multilingual Plane (BMP). Supplementary characters are not permitted in identifiers."
https://dev.mysql.com/doc/refman/5.5/en/charset-restrictions.html
Please add documentation for restrictions on project names beyond
uniqueness and character count.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1631517/+subscriptions