Incorrect validation and exception message for server name with whitespace
Bug #1207625 reported by
Rohit Karajgi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Hirofumi Ichihara |
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-
There is no validation performed for single or multiple whitespaces in server name. The above error
message is also misleading (less than 1 characters??)
Changed in nova: | |
assignee: | nobody → Hirofumi Ichihara (ichihara-hirofumi) |
status: | New → In Progress |
tags: | added: ntt |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
nova/locale/ en_US/LC_ MESSAGES/ nova.po should be also fixed because "256 characters" is bug.
msgid "%(name)s has less than %(min_length)s characters."
msgstr "Server name must be less than 256 characters."