Description of problem: When trying to run gnocchi-dbsync got next error: Traceback (most recent call last): File "/usr/bin/gnocchi-dbsync", line 6, in <module> from gnocchi.cli import storage_dbsync File "/usr/lib/python2.7/site-packages/gnocchi/cli.py", line 15, in <module> from gnocchi.indexer import sqlalchemy as sql_db File "/usr/lib/python2.7/site-packages/gnocchi/indexer/sqlalchemy.py", line 31, in <module> from gnocchi import utils File "/usr/lib/python2.7/site-packages/gnocchi/utils.py", line 19, in <module> from pytimeparse import timeparse File "/usr/lib/python2.7/site-packages/pytimeparse/__init__.py", line 28, in <module> from .timeparse import timeparse as parse File "/usr/lib/python2.7/site-packages/pytimeparse/timeparse.py", line 34, in <module> from builtins import dict, int ImportError: No module named builtins Additional info: Looks like it requires newer version of pytimeparse. Similar request in rhbz:1215261
python-pytimeparse rebased to 1.1.5 in brew: https://brewweb.devel.redhat.com/buildinfo?buildID=451989 moving to Modified.
Successfully run gnocchi-dbsync <excerpt from the output>: ... 2015-08-24 08:17:26.590 2344 DEBUG oslo_db.sqlalchemy.session [-] 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/site-packages/oslo_db/sqlalchemy/session.py:513 Packages: openstack-gnocchi-doc-1.0.0-4.el7ost.noarch openstack-gnocchi-carbonara-1.0.0-4.el7ost.noarch openstack-gnocchi-indexer-sqlalchemy-1.0.0-4.el7ost.noarch openstack-gnocchi-api-1.0.0-4.el7ost.noarch python-gnocchi-1.0.0-4.el7ost.noarch openstack-gnocchi-statsd-1.0.0-4.el7ost.noarch python-pytimeparse-1.1.5-1.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:1721