← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290990] [NEW] Get tenants by name discrepency

 

Public bug reported:

A get call on /v2.0/tenants?name="username"
This call returns the single user on the adminurl however on the user url instead of giving a 404 since getting a tenant by name is not supported it returns the standard get tenants response, ignoring the parameters entirely.  This would cause negative tests that just check the status to fail (returns a 200 when a 404 is expected) and it would appear that the api returned a response for get tenant by name.

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: opencafe

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1290990

Title:
  Get tenants by name discrepency

Status in OpenStack Identity (Keystone):
  New

Bug description:
  A get call on /v2.0/tenants?name="username"
  This call returns the single user on the adminurl however on the user url instead of giving a 404 since getting a tenant by name is not supported it returns the standard get tenants response, ignoring the parameters entirely.  This would cause negative tests that just check the status to fail (returns a 200 when a 404 is expected) and it would appear that the api returned a response for get tenant by name.

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


Follow ups

References