No formal statement of project name restrictions

Bug #1631517 reported by David G Vigil Sr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Steve Martinelli

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.

affects: openstack-api-site → keystone
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/385241

Changed in keystone:
assignee: nobody → Steve Martinelli (stevemar)
status: New → In Progress
Changed in keystone:
milestone: none → ocata-1
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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 <email address hidden>
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
tags: added: documentation
tags: added: api-ref
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/keystone 11.0.0.0b1

This issue was fixed in the openstack/keystone 11.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.