← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290990] Re: Get tenants by name discrepency

 

Despite the nearly identical paths, GET :5000/v2.0/tenants has almost
nothing to do with GET :35357/v2.0/tenants -- they have separate
specifications, separate use cases and separate intended behaviors. I'd
also expect unsupported query strings to be silently ignored, rather
than to raise a 4xx under *any* circumstance.

** Changed in: keystone
       Status: New => Invalid

-- 
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):
  Invalid

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


References