[Bug 1621936] Re: Murano API service contains errors in log file after service start
Ivan Udovichenko
iudovichenko at mirantis.com
Sat Nov 12 01:28:19 UTC 2016
I've successfully added Murano source package to PPA (Xenial):
https://launchpad.net/~iudovichenko/+archive/ubuntu/python/+packages
Please review and sponsor the packages.
Thank you.
--
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:
Fix Released
Status in murano source package in Xenial:
New
Status in murano source package in Yakkety:
Fix Released
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