Server resize error message indicates field which does not match request
Bug #1310791 reported by
Brad Pokorny
This bug report is a duplicate of:
Bug #1350751: Nova responses unexpected error messages when fail to create flavor .
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With a post of this resize body to the nova API, "ram" is specified:
Body :
{"resize"
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.
tags: | added: compute |
tags: |
added: api removed: compute |
To post a comment you must log in.
The error is coming from checking the instance_type db fields I think, so that's what you're getting back in the error message. The flavors util doing the validation would have to map the api fields to the db fields if you wanted to cleanup the error message.