[openstack-dev] [Sahara][oslo]Error in Log.debug

Li, Chen chen.li at intel.com
Tue May 5 02:43:19 UTC 2015


Hi all,

I just upgrade my devstack and re-installed.

My sahara keep reporting errors:

2015-05-05 10:42:00.453 DEBUG sahara.openstack.common.loopingcall [-] Dynamic looping call <bound method SaharaPeriodicTasks.run_periodic_tasks of <sahara.service.periodic.SaharaPeriodicTasks object at 0x7f2ccef987d0>> sleeping for 35.91 seconds from (pid=5361) _inner /opt/stack/sahara/sahara/openstack/common/loopingcall.py:132
2015-05-05 10:42:36.397 DEBUG sahara.openstack.common.periodic_task [-] Running periodic task SaharaPeriodicTasks.terminate_unneeded_transient_clusters from (pid=5361) run_periodic_tasks /opt/stack/sahara/sahara/openstack/common/periodic_task.py:219
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_name'
Logged from file periodic.py, line 137
2015-05-05 10:42:36.434 DEBUG sahara.openstack.common.loopingcall [-] Dynamic looping call <bound method SaharaPeriodicTasks.run_periodic_tasks of <sahara.service.periodic.SaharaPeriodicTasks object at 0x7f2ccef987d0>> sleeping for 9.96 seconds from (pid=5361) _inner /opt/stack/sahara/sahara/openstack/common/loopingcall.py:132
2015-05-05 10:42:46.408 DEBUG sahara.openstack.common.periodic_task [-] Running periodic task SaharaPeriodicTasks.update_job_statuses from (pid=5361) run_periodic_tasks /opt/stack/sahara/sahara/openstack/common/periodic_task.py:219
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_name'
Logged from file periodic.py, line 131


Anyone know why this happens ???


Thanks.
-chen


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150505/c73cf59b/attachment.html>


More information about the OpenStack-dev mailing list