← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1254530

Title:
  Logging prints traces for q-svc and dhcp-agt

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1254530/+subscriptions