← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1557609] [NEW] error message for field name exceeded max allowed is less than helpful

 

Public bug reported:

When creating a project with name which exceeds the maximum length (of
64 chars), we get a very generic error message.

openstack --os-identity-api-version 3 --os-auth-url https://localhost:5000/v3 --os-username admin --os-user-domain-id default --os-project-name admin --os-project-domain-id default --os-password secrete project create --domain default this-is-a-very-very-very-very-very-very-very-very-very-very-very-very-very-long-project-name
Invalid input for field 'name'. The value is 'this-is-a-very-very-very-very-very-very-very-very-very-very-very-very-very-long-project-name'. (HTTP 400) (Request-ID: req-d8d7d046-2c68-4c41-ba8c-d3165d86ae50)


The error message is less than helpful for ordinary users. It needs to be more specific, perhaps something like "Invalid project name. It must be no more than 64 characters in length."?

** Affects: keystone
     Importance: Wishlist
         Status: New

** Changed in: keystone
   Importance: Undecided => Wishlist

-- 
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/1557609

Title:
  error message for field name exceeded max allowed is less than helpful

Status in OpenStack Identity (keystone):
  New

Bug description:
  When creating a project with name which exceeds the maximum length (of
  64 chars), we get a very generic error message.

  openstack --os-identity-api-version 3 --os-auth-url https://localhost:5000/v3 --os-username admin --os-user-domain-id default --os-project-name admin --os-project-domain-id default --os-password secrete project create --domain default this-is-a-very-very-very-very-very-very-very-very-very-very-very-very-very-long-project-name
  Invalid input for field 'name'. The value is 'this-is-a-very-very-very-very-very-very-very-very-very-very-very-very-very-long-project-name'. (HTTP 400) (Request-ID: req-d8d7d046-2c68-4c41-ba8c-d3165d86ae50)

  
  The error message is less than helpful for ordinary users. It needs to be more specific, perhaps something like "Invalid project name. It must be no more than 64 characters in length."?

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1557609/+subscriptions


Follow ups