← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1426093] [NEW] nova logging error

 

Public bug reported:

I receie weird exception when I try to perform any action with nova ( nova list for example ).
I checked, error that should have been logged is Authorization failed for token.

"""
Logged from file auth_token.py, line 825
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
    msg = self.format(record)
  File "/home/xentime/.virtualenvs/xentime/local/lib/python2.7/site-packages/nova/openstack/common/log.py", line 706, in format
    return logging.StreamHandler.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
    return fmt.format(record)
  File "/home/xentime/.virtualenvs/xentime/local/lib/python2.7/site-packages/nova/openstack/common/log.py", line 670, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
    msg = msg % self.args
TypeError: __str__ returned non-string (type Error)
"""

** Affects: nova
     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/1426093

Title:
  nova logging error

Status in OpenStack Compute (Nova):
  New

Bug description:
  I receie weird exception when I try to perform any action with nova ( nova list for example ).
  I checked, error that should have been logged is Authorization failed for token.

  """
  Logged from file auth_token.py, line 825
  Traceback (most recent call last):
    File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
      msg = self.format(record)
    File "/home/xentime/.virtualenvs/xentime/local/lib/python2.7/site-packages/nova/openstack/common/log.py", line 706, in format
      return logging.StreamHandler.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
      return fmt.format(record)
    File "/home/xentime/.virtualenvs/xentime/local/lib/python2.7/site-packages/nova/openstack/common/log.py", line 670, in format
      return logging.Formatter.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
      record.message = record.getMessage()
    File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
      msg = msg % self.args
  TypeError: __str__ returned non-string (type Error)
  """

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


Follow ups

References