← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1156198] Re: Create a new project failed with Error Code 400

 

** 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/1156198

Title:
  Create a new project failed with Error Code 400

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Reproduce Step:
      1. Create a new project in Admin/Project dashboard
      2. Return Error: Unable to set project quotas.

  Log:
      RESP: [400] {'date': 'Sun, 17 Mar 2013 12:31:33 GMT', 'content-length': '85', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-62c8635e-7043-4e60-9ed7-5c3a1e4706f4'}
      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-62c8635e-7043-4e60-9ed7-5c3a1e4706f4)

  Reason:
      1. 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.
      2. Current horizon code has a bug here, it didn't use cinder client api to update "gigabytes" & "volumes" when volumes was enabled.

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