← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155876] Re: Quota updating failed with Http 400 Error

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1155876

Title:
  Quota updating failed with Http 400 Error

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Reproduce Step:
      1. Modify quota in Admin/Project/<Project ID>/More/Modify quotas
      2. Return Error: Modified project information and members, but unable to modify project quotas.
  Log:
      RESP: [400] {'date': 'Sat, 16 Mar 2013 04:44:41 GMT', 'content-length': '85', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-8d6bf49c-5bb3-4034-890a-364b107f31f8'}
      RESP BODY: {"badRequest": {"message": "Bad key(s) gigabytes,volumes in quota_set", "code": 400}}
      Recoverable error: Bad key(s) gigabytes,volumes in quota_set (HTTP 400) (Request-ID: req-8d6bf49c-5bb3-4034-890a-364b107f31f8)

  Reason:
      from Nova Bug fix 1064864: https://review.openstack.org/#/c/20890/ Change-Id: Ic4a68047adf3ccf2dbac669b1b66d73bfe4d58de
      Nova api would return BadHttpRequest to quota updating request if invalid key exist, like "volumes" or "gigabytes". So "gigabytes" and "volumes" needed to be removed in when updating quotas by nova api in horizon.

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