Comment 2 for bug 1594482

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/331790
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=6a9a9f002f44c15d40cf890eefd03a4ab6172b0b
Submitter: Jenkins
Branch: master

commit 6a9a9f002f44c15d40cf890eefd03a4ab6172b0b
Author: Roxana Gherle <email address hidden>
Date: Mon Jun 20 10:53:36 2016 -0700

    /services?name=<name> API fails when using list_limit

    When using list_limit configuration option in Default section of
    keystone.conf, the /services?name=<service_name> API fails to find
    the service if list_limit value is smaller than the total number
    of services and the searched service is not among the first
    'list_limit' services. The API should first filter by name and
    only afterwards truncate the result list.

    Also, this patch fixes setting the 'truncated' attribute of the
    driver's hint.limit object when truncating the list outside of
    driver_hints.truncated decorator, problem exposed by fixing the
    problem described in the first paragraph.

    Closes-Bug: #1594482
    Change-Id: I832f542c3cb0faf94a1e5bce5a894f7f4d26a8de