api is incredibly slow with ldap due to user.is_admin() lookups
Bug #721660 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
the call to user.is_admin() is extremely slow, we should optimize by checking is_admin in the context.
Related branches
lp://staging/~vishvananda/nova/lp721660
- Jesse Andrews (community): Approve
- Devin Carlen (community): Approve
- Rick Harris (community): Approve
-
Diff: 153 lines (+15/-15)5 files modifiednova/api/ec2/__init__.py (+1/-1)
nova/api/ec2/cloud.py (+10/-10)
nova/objectstore/bucket.py (+1/-1)
nova/objectstore/image.py (+1/-1)
nova/volume/api.py (+2/-2)
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Vish Ishaya (vishvananda) |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.