Public bug reported:

Example from:
http://logs.openstack.org/47/122347/16/check/check-tempest-dsvm-full/e958fa0/logs/screen-n-cpu.txt.gz

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 
178, in format
    context = _update_record_with_context(record)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 
56, in _update_record_with_context
    d = _dictify_context(context)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 
31, in _dictify_context
    context = context.to_dict()
  File "/opt/stack/new/nova/nova/context.py", line 157, in to_dict
    values.update({'user_id': self.user_id,
AttributeError: 'RequestContext' object has no attribute 'user_id'
Logged from file context.py, line 97

** Affects: nova
     Importance: Undecided
         Status: New

** Affects: oslo.log
     Importance: Undecided
         Status: New

** Also affects: oslo.log
   Importance: Undecided
       Status: New

-- 
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/1427665

Title:
  AttributeError: 'RequestContext' object has no attribute 'user_id'

Status in OpenStack Compute (Nova):
  New
Status in Logging configuration library for OpenStack:
  New

Bug description:
  Example from:
  
http://logs.openstack.org/47/122347/16/check/check-tempest-dsvm-full/e958fa0/logs/screen-n-cpu.txt.gz

  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 
178, in format
      context = _update_record_with_context(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 
56, in _update_record_with_context
      d = _dictify_context(context)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 
31, in _dictify_context
      context = context.to_dict()
    File "/opt/stack/new/nova/nova/context.py", line 157, in to_dict
      values.update({'user_id': self.user_id,
  AttributeError: 'RequestContext' object has no attribute 'user_id'
  Logged from file context.py, line 97

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to