← 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

 

It's a bug in the nova v4 compute proxy code, it's passing the args in
the wrong order:

http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/manager.py#n6584

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: oslo.log
       Status: In Progress => Invalid

** Changed in: nova
       Status: New => Triaged

** Changed in: nova
     Assignee: (unassigned) => Matt Riedemann (mriedem)

** Changed in: nova
   Importance: Undecided => High

** Tags added: kilo-rc-potential

-- 
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):
  In Progress
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