Error executing Gnocchi on Devstack Ocata

asked 2017-11-03 19:41:15 -0600

anonymous user

Anonymous

Recently I've tried to deploy VDUs with DevStack Ocata capable of monitoring their own resources and taking actions based on their current state. For this, I'm using the plugins Ceilometer, Aodh and Gnocchi. Of these, I'm facing a few problems trying to work with Gnocchi.

I've followed the instructions given on Gnocchi's web page in order to install it along with Devstack, just adding a line to my local.conf to enable the plugin. Still, when I try to run my stack.sh script, the service check says that there was a failure executing the gnocchi-metricd service.

When I try to execute it myself, this is the output I get:

stack@devstack:~/devstack$ gnocchi-metricd
Traceback (most recent call last):
  File "/usr/local/bin/gnocchi-metricd", line 6, in <module>
    from gnocchi.cli.metricd import metricd
  File "/opt/stack/gnocchi/gnocchi/cli/metricd.py", line 133, in <module>
    class MetricProcessor(MetricProcessBase):
  File "/opt/stack/gnocchi/gnocchi/cli/metricd.py", line 178, in MetricProcessor
    @retry_on_exception.wraps
AttributeError: 'Retrying' object has no attribute 'wraps'

I've initially thought that maybe this could be something related to my Python version, but my researches on how to solve this are proving themselves fruitless. Can anyone give me some help on this?

edit retag flag offensive close merge delete

Comments

Have you activated the metricd service in the local.conf?

pablobrunetti gravatar imagepablobrunetti ( 2018-01-16 18:37:58 -0600 )edit