logging context format error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Expired
|
High
|
Unassigned | ||
devstack |
Invalid
|
Undecided
|
Thiago Paiva Brito | ||
oslo.context |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I use the latest devstack with LOG_COLOR enabled to setup the environment.
Devstack will set logging_
in devstack/functions setup_colorized
iniset $conf_file $conf_section logging_
https:/
When I start the ironic conductor in the debug mode,
I will see the following message :
Traceback (most recent call last):
File "/usr/lib/
msg = self.format(record)
File "/usr/lib/
return fmt.format(record)
File "/usr/local/
return logging.
File "/usr/lib/
s = self._fmt % record.__dict__
KeyError: 'user_name'
Logged from file amqp.py, line 97
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_name'
Logged from file amqp.py, line 97
Nova also set the logging_
Changed in ironic: | |
assignee: | nobody → chenglch (chenglch) |
Changed in ironic: | |
status: | New → Confirmed |
Changed in ironic: | |
status: | Confirmed → Invalid |
Changed in devstack: | |
status: | New → Confirmed |
assignee: | nobody → Thiago Paiva Brito (thiagop) |
Changed in ironic: | |
status: | Invalid → In Progress |
Changed in ironic: | |
assignee: | chenglch (chenglch) → nobody |
status: | In Progress → Confirmed |
Changed in oslo.context: | |
status: | New → Incomplete |
Fix proposed to branch: master /review. openstack. org/184568
Review: https:/