Bug 1041865 - [RFE][keystone]: Provide ability for length of list responses to be limited
Summary: [RFE][keystone]: Provide ability for length of list responses to be limited
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: RHOS Maint
QA Contact: Udi Kalifon
URL: https://blueprints.launchpad.net/keys...
Whiteboard: upstream_milestone_icehouse-3 upstrea...
Depends On:
Blocks: 1081959
TreeView+ depends on / blocked
 
Reported: 2013-12-12 19:46 UTC by RHOS Integration
Modified: 2016-04-27 03:28 UTC (History)
9 users (show)

Fixed In Version: openstack-keystone-2014.1-4.el7ost
Doc Type: Enhancement
Doc Text:
A change was introduced to limit the number of results returned by list commands. This was done to avoid problems when the number of results can be larger than available memory. For example, a user list on a system where there are millions of users would return all of them. Now users can provide a configuration value (list_limit=[integer value]) on calls to the Identity API list functions. Lists that have values beyond those limits will return a 'truncated' value in the body of the results.
Clone Of:
: 1081959 (view as bug list)
Environment:
Last Closed: 2014-07-08 15:24:03 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0854 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Identity 2014-07-08 19:22:33 UTC

Description RHOS Integration 2013-12-12 19:46:52 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/keystone/+spec/list-limiting.

Description:

It should be possible for a cloud provider to optional set a limit of the maximum number of records that will be returned, ensuring that poorly filtered queries do not take excessive time.

Like filtering, this should be enabled in the backends wherever possible to allow this to be passed to the underlying subsystem (e.g SQL)

Specification URL (additional information):

None

Comment 2 Udi Kalifon 2014-04-27 10:36:05 UTC
Setting list_limit in keystone.conf indeed limits the length of the returned results. However, I can't find documentation on how to query for the remainder of the list that was truncated. There should be something that I can add to the URL, like "?part=2", to get the next batch of results etc... What's the query form, please?

Comment 9 errata-xmlrpc 2014-07-08 15:24:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0854.html


Note You need to log in before you can comment on or make changes to this bug.