← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/524088
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e51a14bc93fc8a0661a3dfab548bad8c19ff2085
Submitter: Zuul
Branch:    master

commit e51a14bc93fc8a0661a3dfab548bad8c19ff2085
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Thu Nov 30 16:19:42 2017 +0900

    [placement] Fix an error message in API validation
    
    Fix the error message in validation of the following API
    when the name exceeds max character length(255).
    
    * PUT /traits/{name}
    
    Change-Id: I2bbbadd7842bf4652d3c32ae3e5c74e2e159990b
    Closes-Bug: #1735343


** Changed in: nova
       Status: In Progress => 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/1735343

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

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) pike series:
  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


References