[Bug 1621936] Re: Murano API service contains errors in log file after service start

Ubuntu Foundations Team Bug Bot 1621936 at bugs.launchpad.net
Sat Sep 10 00:48:16 UTC 2016


The attachment "debdiff_murano_2.0.2-1.diff" seems to be a debdiff.  The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1621936

Title:
  Murano API service contains errors in log file after service start

Status in murano package in Ubuntu:
  New

Bug description:
  During murano-api service start you may observe errors in /var/log/murano/murano-api.log log file:
  """
  ...
  2016-09-09 16:31:37.631 24299 DEBUG murano.common.statservice [-] Updating statistic information. update_stats /usr/lib/python2.7/dist-packages/murano/common/statservice.py:59
  2016-09-09 16:31:37.631 24299 DEBUG murano.common.statservice [-] Stats object: <murano.api.v1.request_statistics.RequestStatisticsCollection object at 0x7fa9639de990> update_stats /usr/lib/python2.7/dist-packages/murano/common/statservice.py:60
  2016-09-09 16:31:37.631 24299 DEBUG murano.common.statservice [-] Stats: (Requests: 0  Errors: 0  Ave.Res.Time 0.0000
   Per tenant: {}) update_stats /usr/lib/python2.7/dist-packages/murano/common/statservice.py:66
  2016-09-09 16:31:37.698 24299 DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:256
  2016-09-09 16:31:37.737 24299 ERROR murano.common.statservice [-] Failed to get statistics object from a database. 'module' object has no attribute 'NUM_CPUS'
  2016-09-09 16:31:37.737 24299 ERROR murano.common.statservice Traceback (most recent call last):
  2016-09-09 16:31:37.737 24299 ERROR murano.common.statservice   File "/usr/lib/python2.7/dist-packages/murano/common/statservice.py", line 75, in update_stats
  2016-09-09 16:31:37.737 24299 ERROR murano.common.statservice     psutil.NUM_CPUS,
  2016-09-09 16:31:37.737 24299 ERROR murano.common.statservice AttributeError: 'module' object has no attribute 'NUM_CPUS'
  2016-09-09 16:31:37.737 24299 ERROR murano.common.statservice
  ...
  """

  The issues shows itself because of a new version (3.4.2-1) of python-
  psutil package: http://packages.ubuntu.com/xenial/python-psutil

  The detailed instruction how to reproduce the issue was written by my manager (Igor Yozhikov):
  https://docs.google.com/document/d/1zf4WROMtd2Miq57WHDRRC7Qt-GZ6AIpQIlL2S3FT6Qo/view

  The fix was proposed/merged here:
  https://review.openstack.org/#/c/360727/

  Related bug:
  https://bugs.launchpad.net/murano/+bug/1598208

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/murano/+bug/1621936/+subscriptions



More information about the Ubuntu-sponsors mailing list