← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1310791] Re: Server resize error message indicates field which does not match request

 

*** This bug is a duplicate of bug 1350751 ***
    https://bugs.launchpad.net/bugs/1350751

The root issue reported here was addressed in bug 1350751 and this
change:

https://review.openstack.org/#/c/110891/

Basically make the error message that the user sees have the same fields
that are in the API request rather than the DB model fields.

** This bug has been marked a duplicate of bug 1350751
   Nova responses unexpected error messages when fail to create flavor

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

Title:
  Server resize error message indicates field which does not match
  request

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  With a post of this resize body to the nova API, "ram" is specified:

  Body :

  {"resize":{"flavor":{"vcpus":1,"ram":9999999999,"disk":20,"extra_specs":{"key:smt":"-1"}}}}

  The response refers to the same field as "memory_mb":

  Response :

  {
  badRequest: {
  message: "Invalid input received: memory_mb must be <= 2147483647"
  code: 400
  }-

  It would seem to make more sense if the response referred to the same
  field as the request.

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


References