List regions: 'parent_region_id' does not work

Bug #1350192 reported by Tomoki Shiratori
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Alexey Miroshkin

Bug Description

List Regions: GET /regions has an optional query parameters: parent_region_id(string).
I expected that the parameter filtered a result list, that is, only the regions which had the specified parent_region_id were listed. However, when I specified the parent_region_id, the API still returned all the regions. Is it not yet implemetend? If so, please let me know the plan to be implemented.

Revision history for this message
Henry Nash (henry-nash) wrote :

This is indeed a bug - the code for filtering by parent ID is missing.

Changed in keystone:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → juno-3
assignee: nobody → Alexey Miroshkin (amirosh)
Henry Nash (henry-nash)
Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/111200

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

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

commit c9f6863c4c4f595678a6ae8db3af13e40f58b403
Author: Alexey Miroshkin <email address hidden>
Date: Fri Aug 1 12:40:09 2014 +0400

    Filter List Regions by 'parent_region_id'

    List Regions (GET /regions) has an optional query parameter
    'parent_region_id', but the API still returns all the regions.

    This fix adds support of filtering regions by an optional query
    parameter 'parent_region_id'.

    Closes-Bug: #1350192

    Change-Id: I59f8d852870bd3ad26622bfcd00dfadfdf9d5b42

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.