add(remove)TenantAccess throws 500 Internal Error
Bug #1253014 reported by
zhangyanzi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Christopher Yeoh |
Bug Description
The function addTenantAccess and removeTenantAccess don't check whether the parameter "tenant"is in request body. So the 500 error has been thrown.
We should catch the KeyError and transfer the KeyError to 400(HTTPBadRequest) instead of 500.
Changed in nova: | |
assignee: | nobody → zhangyanzi (zhangyanzi) |
status: | New → In Progress |
tags: | added: api |
Changed in nova: | |
assignee: | zhangyanzi (zhangyanzi) → Christopher Yeoh (cyeoh-0) |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/57637
Review: https:/