← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1444728] Re: KeyError: 'uuid' trace in n-cpu logs when logging with instance=instance kwarg

 

** Changed in: nova/kilo
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1444728

Title:
  KeyError: 'uuid' trace in n-cpu logs when logging with
  instance=instance kwarg

Status in OpenStack Compute (Nova):
  Fix Committed
Status in OpenStack Compute (nova) kilo series:
  Fix Released
Status in Logging configuration library for OpenStack:
  Invalid

Bug description:
  This is with oslo.log 1.0.0:

  http://logs.openstack.org/83/172083/7/gate/gate-tempest-dsvm-neutron-
  full/bdb2cf0/logs/screen-n-cpu.txt.gz#_2015-04-15_13_49_06_485

  Traceback (most recent call last):
    File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
      msg = self.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/handlers.py", line 69, in format
      return logging.StreamHandler.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
      return fmt.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 182, in format
      % instance)
  KeyError: 'uuid'

  The change was made here: https://review.openstack.org/#/c/160007/

  Looks like that should be formatting with a dict using the uuid key.

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