UpdateProjectMembersAction is polling all users.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Charles V Bock |
Bug Description
The Update Project Members Action is polling all users for their roles when it only needs the current tenant's users roles.
Line: 218 openstack_
# Figure out users & roles
if project_id:
for user in all_users:
for role in roles:
If there are more than a few users this quickly turns into a horrible slowdown as hundreds or thousands (depending on user count) of calls have to be made to keystone for each users roles.
We could easily replace all_users with project_members like so...
# Figure out users & roles
if project_id:
for user in project_members:
I'll propose this change for review.
Changed in horizon: | |
assignee: | nobody → Charles V Bock (charles-v-bock) |
Changed in horizon: | |
importance: | Undecided → Low |
Changed in horizon: | |
milestone: | none → havana-rc1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | havana-rc1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/46161
Review: https:/