← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350751] Re: Nova responses unexpected error messages when fail to create flavor

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-3

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

Title:
  Nova responses unexpected error messages when fail to create flavor

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The response message is unexpected(not easy to understand) if the
  requested resource exceeded limitation when to create new flavor.
  Following are examples:

  1. requested ram exceeded limitation:
  Run "nova --debug flavor-create ram_test 10 9999999999 20 1", the response info is:
  RESP BODY: {"badRequest": {"message": "Invalid input received: memory_mb must be <= 2147483647", "code": 400}}

  2. requested disk exceeded limitation:
  nova --debug flavor-create ram_test 10 1024 2000000000000000000 1
  RESP BODY: {"badRequest": {"message": "Invalid input received: root_gb must be <= 2147483647", "code": 400}}

  I think "memory_mb" and "root_gb" in above response messages are
  unexpected, "ram" and "disk" could be better to user.

  Hope for your comments. Thanks!

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


References