yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73763
[Bug 1780896] Re: project_id filter doesn't work when listing limits with more than one filters
Reviewed: https://review.openstack.org/581177
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=4cdb4a0b72701f400647cd5899d50cb7e9615cfd
Submitter: Zuul
Branch: master
commit 4cdb4a0b72701f400647cd5899d50cb7e9615cfd
Author: wangxiyuan <wangxiyuan@xxxxxxxxxx>
Date: Tue Jul 10 10:55:13 2018 +0800
Filter project_id for list limits
When list limits, if more than one filter is provided and
"project_id" is contained, the limits should be filtered
with "project_id" as well.
Closes-bug: #1780896
Change-Id: I7c231130358ab8d7b0b2f507c52d34366ca0060a
** Changed in: keystone
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1780896
Title:
project_id filter doesn't work when listing limits with more than one
filters
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
when a non-admin list limits with a filter ("resource_name",
"region_id", "service_id"), all project's related limits will return.
Because when a non-admin list limits, keystone will add "project_id" filter internal and then query db.
But the "project_id" is ignored in db query.
This can be fixed by adding the project_id filter action back in db
query.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1780896/+subscriptions
References