%(tenant_id)s referenced in unit tests logging statement but doesn't exist in locals()
Bug #837174 reported by
Brad Hall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Brad Hall | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Which generates errors like this when running the tests:
Traceback (most recent call last):
File "/usr/lib/
msg = self.format(record)
File "/usr/lib/
return fmt.format(record)
File "/usr/lib/
record.message = record.getMessage()
File "/usr/lib/
msg = msg % self.args
KeyError: u'tenant_id'
Logged from file test_api.py, line 275
Line 275: LOG.debug("Deleting network %(network_id)s"\
" of tenant %(tenant_id)s", locals())
Related branches
lp:~bgh/neutron/lp837174
- Salvatore Orlando: Approve
- dan wendlandt: Approve
-
Diff: 117 lines (+45/-10)2 files modifiedquantum/db/api.py (+7/-0)
tests/unit/test_api.py (+38/-10)
Changed in quantum: | |
status: | New → In Progress |
assignee: | nobody → Brad Hall (bgh) |
Changed in quantum: | |
status: | In Progress → Fix Committed |
Changed in quantum: | |
milestone: | none → diablo-rbp |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.