← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1207625] Re: Incorrect validation and exception message for server name with whitespace

 

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

** Changed in: nova
    Milestone: None => havana-3

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

Title:
  Incorrect validation and exception message for server name with
  whitespace

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Create a server by passing a name having just one or more whitespaces,
  such as ' ' or '   '.

  Expected error message: 
  HTTP 400 Bad Request. Server name should contain at least 1 character.

  Actual error message:
  Error: Server name has less than 1 characters. (HTTP 400) (Request-ID: req-af94d291-af62-4edf-a160-f21a8efa7851)

  There is no validation performed for single or multiple whitespaces in server name. The above error
  message is also misleading (less than 1 characters??)

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