Slow listing projects for user with many role assignments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
New
|
Undecided
|
Unassigned |
Bug Description
With complex structure of inherited roles and groups listing projects and domains a user has access to becomes very slow. Some users are complaining that it takes a minute to get their list of roles.
Some time ago a similar bug has been fixed in https:/
It seems that there are several places where too many database calls are made:
1. For example, https:/
2. As mentioned in #1700852, _strip_domain_roles is called many times and is slow
3. add_implied_roles (https:/