Public bug reported:
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
** Affects: murano (Ubuntu)
Importance: Undecided
Status: New
** Tags: murano-api python-psutil
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1621936
Title:
Murano API service contains errors in log file after service start
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/murano/+bug/1621936/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs