<div dir="ltr"><div>Hello Gordon, what do you mean with "coordination service" ?</div><div>I installed ceilometer and gnocchi following ocata community documentation.</div><div>Versions are the followings :</div><div><br></div><div>openstack-gnocchi-statsd-3.1.16-1.el7.noarch<br>python2-gnocchiclient-3.1.0-1.el7.noarch<br>python-gnocchi-3.1.16-1.el7.noarch<br>openstack-gnocchi-api-3.1.16-1.el7.noarch<br>openstack-gnocchi-indexer-sqlalchemy-3.1.16-1.el7.noarch<br>openstack-gnocchi-common-3.1.16-1.el7.noarch<br>openstack-gnocchi-metricd-3.1.16-1.el7.noarch</div><div><br></div><div>The indexer is on mariadb.</div><div><br></div><div>Thanks and Regards</div><div>Ignazio<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-14 0:51 GMT+02:00 gordon chung <span dir="ltr"><<a href="mailto:gord@live.ca" target="_blank">gord@live.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i would probably ask this question on gnocchi[1] as i don't know how many devs read this. you should also add what numerical version of gnocchi you're using and what coordination service you're using.<br>
<br>
if i were to quickly guess, i'm going to to assume you're not using a dedicated coordination service and are relying on the db based on your comment. if so, i would add the version of tooz you have as there are certain versions of tooz that do not handle locking with SQL well. (don't have the exact versions of tooz that are broken handy)<br>
<br>
[1] <a href="https://github.com/gnocchixyz/gnocchi/issues" rel="noreferrer" target="_blank">https://github.com/gnocchixyz/<wbr>gnocchi/issues</a><br>
--<br>
gord<br>
<br>
______________________________<wbr>__________<br>
From: Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com">ignaziocassano@gmail.com</a>><br>
Sent: June 13, 2018 7:36 AM<br>
To: OpenStack Operators<br>
Subject: [Openstack-operators] openstack ocata gnocchi statsd errors<br>
<div class="HOEnZb"><div class="h5"><br>
Hello everyone,<br>
I installed centos 7 openstack ocata with gnocchi.<br>
The gnocchi backand is "file" and /var/lib/gnocchi is on netapp nfs.<br>
Sometime a lot of locks are created on nfs and the statsd.log reports<br>
the following:<br>
<br>
2018-03-05 08:56:34.743 58931 ERROR trollius [-] Exception in callback _flush() at /usr/lib/python2.7/site-<wbr>packages/gnocchi/statsd.py:179<br>
handle: <TimerHandle when=1180741.55618 _flush() at /usr/lib/python2.7/site-<wbr>packages/gnocchi/statsd.py:<wbr>179><br>
2018-03-05 08:56:34.743 58931 ERROR trollius Traceback (most recent call last):<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/trollius/events.py", line 136, in _run<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     self._callback(*self._args)<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/gnocchi/statsd.py", line 181, in _flush<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     stats.flush()<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/gnocchi/statsd.py", line 93, in flush<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     with_metrics=True)<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/oslo_db/api.py", line 151, in wrapper<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     ectxt.value = e.inner_exc<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/oslo_utils/excutils.<wbr>py", line 220, in __exit__<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     self.force_reraise()<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/oslo_utils/excutils.<wbr>py", line 196, in force_reraise<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     six.reraise(self.type_, self.value, self.tb)<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/oslo_db/api.py", line 139, in wrapper<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     return f(*args, **kwargs)<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/gnocchi/indexer/<wbr>sqlalchemy.py", line 932, in get_resource<br>
2018-03-05 08:56:34.743 58931 ERROR trollius     session, resource_type)['resource']<br>
2018-03-05 08:56:34.743 58931 ERROR trollius   File "/usr/lib/python2.7/site-<wbr>packages/gnocchi/indexer/<wbr>sqlalchemy.py", line 574, in _resource_type_to_mappers<br>
<br>
<br>
Anyone could help me, please?<br>
What's happening ?<br>
<br>
Regards<br>
Ignazio<br>
</div></div></blockquote></div><br></div>