← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1735343] [NEW] placement: Inappropriate error message in the input validation in traits API

 

Public bug reported:

When creating a trait by "PUT /traits/{name}",
If the name of trait exceeds max character length (255 chars),
the following error message is got.
But it is not appropriate.

The trait is invalid. A valid trait must include prefix "CUSTOM_" and
use following characters: "A"-"Z", "0"-"9" and "_"

Environment
-----------

nova master(commit b9c35aea70e0b413992cb77bd451691883afa2ef)

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: In Progress


** Tags: api placement

** Changed in: nova
     Assignee: (unassigned) => Takashi NATSUME (natsume-takashi)

** Changed in: nova
       Status: New => In Progress

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

Title:
  placement: Inappropriate error message in the input validation in
  traits API

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  When creating a trait by "PUT /traits/{name}",
  If the name of trait exceeds max character length (255 chars),
  the following error message is got.
  But it is not appropriate.

  The trait is invalid. A valid trait must include prefix "CUSTOM_" and
  use following characters: "A"-"Z", "0"-"9" and "_"

  Environment
  -----------

  nova master(commit b9c35aea70e0b413992cb77bd451691883afa2ef)

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


Follow ups