← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1253014] Re: add(remove)TenantAccess throws 500 Internal Error

 

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

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

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

Title:
  add(remove)TenantAccess throws 500 Internal Error

Status in OpenStack Compute (Nova):
  Fix Released

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.

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