← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254530] [NEW] Logging prints traces for q-svc and dhcp-agt

 

You have been subscribed to a public bug:

q-svc and q-dhcp services are printing the following stack traces in
their screen tabs:

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 850, in emit
    msg = self.format(record)
  File "/opt/stack/neutron/neutron/openstack/common/log.py", line 566, in format
    return logging.StreamHandler.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 723, in format
    return fmt.format(record)
  File "/opt/stack/neutron/neutron/openstack/common/log.py", line 530, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 467, in format
    s = self._fmt % record.__dict__
KeyError: u'project_name'

As a workaround, colorized logging config could be fixed to remove
project_name from the list of fields in neutron.conf and that solves the
issue. However new devstack setup brings the problem back.

** Affects: neutron
     Importance: Undecided
         Status: Confirmed

-- 
Logging prints traces for q-svc and dhcp-agt
https://bugs.launchpad.net/bugs/1254530
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.