← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431784] [NEW] Traceback in glanceapi and glance registry in devstack

 

Public bug reported:

when running devstack  got the followng traceback whenever  do a listing
of glance images from cli or horizon.The traceback occurs both in
glance-ap and glance-registry.

==> glance image-list

Trace in g-api
+++++++++++++++++++++
Logged from file policy.py, line 296
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 235, 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: 'user_id'
Logged from file client.py, line 401
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 235, 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: 'user_id'
Logged from file client.py, line 124
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 235, 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: 'user_id'

Traceback from g-registry
++++++++++++++++++++++++++++++++
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 235, 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: 'user_id'
Logged from file session.py, line 509
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 235, 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: 'user_id'
Logged from file images.py, line 186
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 235, 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: 'user_id'

This can be bug in glance or devstack

** Affects: glance
     Importance: Undecided
         Status: New

** Description changed:

  when running devstack  got the followng traceback whenever  do a listing
  of glance images from cli or horizon.The traceback occurs both in
  glance-ap and glance-registry.
  
+ ==> glance image-list
  
  Trace in g-api
  +++++++++++++++++++++
  Logged from file policy.py, line 296
  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 235, 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__
+   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 235, 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: 'user_id'
  Logged from file client.py, line 401
  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 235, 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__
+   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 235, 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: 'user_id'
  Logged from file client.py, line 124
  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 235, 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__
+   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 235, 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: 'user_id'
  
  Traceback from g-registry
  ++++++++++++++++++++++++++++++++
  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 235, 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__
+   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 235, 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: 'user_id'
  Logged from file session.py, line 509
  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 235, 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__
+   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 235, 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: 'user_id'
  Logged from file images.py, line 186
  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 235, 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__
+   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 235, 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: 'user_id'
  
- 
  This can be bug in glance or devstack

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

Title:
  Traceback in glanceapi and glance registry in devstack

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  when running devstack  got the followng traceback whenever  do a
  listing of glance images from cli or horizon.The traceback occurs both
  in glance-ap and glance-registry.

  ==> glance image-list

  Trace in g-api
  +++++++++++++++++++++
  Logged from file policy.py, line 296
  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 235, 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: 'user_id'
  Logged from file client.py, line 401
  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 235, 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: 'user_id'
  Logged from file client.py, line 124
  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 235, 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: 'user_id'

  Traceback from g-registry
  ++++++++++++++++++++++++++++++++
  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 235, 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: 'user_id'
  Logged from file session.py, line 509
  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 235, 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: 'user_id'
  Logged from file images.py, line 186
  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 235, 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: 'user_id'

  This can be bug in glance or devstack

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


Follow ups

References