Fix bad performance when editing domain members

Bug #1445249 reported by Jingjing Ren
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Jingjing Ren

Bug Description

Closely related to bug #1365685. The same problem occurs in the Edit action under Identity->Domains panel.

Function UpdateDomain.handle() uses API call user_list(), which doesn't scale and causes Horizon to take a long time to update the domain members. get_domain_users_roles() can be used here to improve the performance.

Changed in horizon:
assignee: nobody → Jingjing Ren (jingjing-ren)
Changed in horizon:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: Jingjing Ren (jingjing-ren) → Timur Sufiev (tsufiev-x)
Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: Timur Sufiev (tsufiev-x) → Jingjing Ren (jingjing-ren)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/177005
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1ccc4dd14adfe85946ff87529db144330cac53ae
Submitter: Jenkins
Branch: master

commit 1ccc4dd14adfe85946ff87529db144330cac53ae
Author: Jingjing Ren <email address hidden>
Date: Mon Apr 20 01:16:05 2015 +0000

    Fix bad performance when editing domain members

    Modify the Edit action use get_domain_user_roles API
    instead of making a separate call for each user.

    Change-Id: I9a37cf0d74b8a5ef6e1a6d4013a2b6826649f0c2
    Related-Bug: #1365685
    Closes-Bug: #1445249

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b2

This issue was fixed in the openstack/horizon 9.0.0.0b2 development milestone.

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.