[Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi
Matthias Runge
mrunge at matthias-runge.de
Mon Feb 28 18:37:20 UTC 2022
On 2/28/22 17:58, Molka Gharbaoui wrote:
> Hi all,
>
> I installed devstack and ceilometer by adding the following lines in the
> local.conf file:
>
> enable_plugin ceilometer https://opendev.org/openstack/ceilometer.git
> CEILOMETER_BACKEND=gnocchi
>
> Devstack (yoga) works correctly (I am able to create images, instances,
> etc.). The problem is that I cannot visualize the metrics. Using
> "gnocchi metric list" and "gnocchi resource list" commands the result is
> empty.
>
> When I use the "--debug" option, no errors are plotted but the body
> response is empty.
>
> "ceilometer-upgrade" gives the following error: DEBUG
> ceilometer.cmd.storage Upgrade Gnocchi resource types upgrade
> /opt/stack/ceilometer/ceilometer/cmd/storage.py:42
>
> "ceilometer-polling" prints "The resource could not be found".
>
> I have a running instance.
>
> Could you help me in retrieving the metrics from openstack?
That means, that ceilometer apparently either doesn't get any updates
from the underlying services OR it doesn't send the metrics over to gnocchi.
You should check the ceilometer logs for errors. Also gnocchi logs could
reveal issues.
Matthias
More information about the openstack-discuss
mailing list