← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1240347] Re: all_tenants=0 passed to server list request still lists all tenants

 

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

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

Title:
  all_tenants=0 passed to server list request still lists all tenants

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Listing servers through the API with all_tenants set to 0 or false
  such as

  curl -i
  http://192.168.1.18:8774/v2/4b2ac3d76cba499b9981cb4dfed963ea/servers/detail?all_tenants=0
  -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-
  novaclient" -H "Accept: application/json" -H "X-Auth-Token:
  251e8d2b0dce46578591b8980b7cfee4"

  results in servers from all tenants being returned anyway. We don't
  see this bug with python nova client because it simply doesn't pass
  the all_tenants flag along with the url if all_tenants is set to 0

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