← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 844708] Re: Server name length restriction needed in OSAPI v1.1Create server

 

We do an explicit name length check in
nova/api/openstack/compute/servers.py

** Changed in: nova
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/844708

Title:
  Server name length restriction needed in OSAPI v1.1Create server

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The only length limit for name of server in OSAPI is 255 characters
  enforced by table column constraints. I feel the API should fix some
  value for the length, or this value should be configurable parameter
  (say, SERVER_NAME_MAX)

  "name" :
  "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
  - Is allowed (255 chars)

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