KeyError: 'user_id' in devstack logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Kaitlin Farr |
Bug Description
When running devstack with Barbican enabled, the Barbican logs have multiple entries of the following error:
Traceback (most recent call last):
File "/usr/lib/
msg = self.format(record)
File "/usr/local/
return logging.
File "/usr/lib/
return fmt.format(record)
File "/usr/local/
return logging.
File "/usr/lib/
s = self._fmt % record.__dict__
KeyError: 'user_id'
Logged from file context.py, line 41
Related to bug 1431784
Proposed fix: update lib/barbican from:
setup_
to:
setup_
See:
https:/
https:/
Changed in barbican: | |
importance: | Undecided → Medium |
assignee: | nobody → Kaitlin Farr (kaitlin-farr) |
Changed in barbican: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | liberty-3 → 1.0.0 |
Reviewed: https:/ /review. openstack. org/205670 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=f113520694f 17ae36390ffecf5 26b52aa1ceba2e
Committed: https:/
Submitter: Jenkins
Branch: master
commit f113520694f17ae 36390ffecf526b5 2aa1ceba2e
Author: Kaitlin Farr <email address hidden>
Date: Fri Jul 24 14:41:00 2015 -0400
Fix colorized logging in Devstack
When running Barbican with Devstack, the logs would have multiple
entries of "KeyError: 'user_id'". This resolves that error.
Change-Id: Ia4da694decb645 1ca67bf4159c803 410f4be606b
Closes-Bug: #1478116