No longer any need to pass admin context to aggregate DB API methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
jichenjc |
Bug Description
Since https:/
One implication of that is that methods like get_host_
def _describe_
ctxt = context.elevated()
no longer need to pass an elevated context
Also, in some of our scheduler filters, we do:
def _get_cpu_
context = filter_
metadata = db.aggregate_
and those too should no longer require an elevated context
Changed in nova: | |
assignee: | nobody → jichencom (jichenjc) |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/79835
Review: https:/