PciDevTracker passes context module instead of instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Ed Leafe | ||
Juno |
Fix Released
|
High
|
Nikola Đipanov |
Bug Description
Currently, the code in the PciDevTracker.
```
def __init__(self, node_id=None):
"""Create a pci device tracker.
If a node_id is passed in, it will fetch pci devices information
from database, otherwise, it will create an empty devices list
and the resource tracker will update the node_id information later.
"""
self.stale = {}
self.stats = stats.PciDevice
if node_id:
else:
```
The problem is that in the call to `objects.
Instead, the parameter should be changed to `context.
Changed in nova: | |
assignee: | nobody → Ed Leafe (ed-leafe) |
Changed in nova: | |
importance: | Undecided → Low |
tags: | added: pci-passthrough |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
tags: | added: juno-backport-potential |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/145619
Review: https:/