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.
Fix proposed to branch: master /review. openstack. org/24570
Review: https:/