R: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi

Molka Gharbaoui Molka.Gharbaoui at santannapisa.it
Thu Mar 3 09:29:15 UTC 2022

Thank you Matthias for your reply.

Unfortunately, from the logs I still cannot understand what is the issue.

Could someone kindly indicate me how ceilometer and gnocchi should be configured to get the data?

For example in this link: https://docs.openstack.org/ceilometer/latest/install/install-base-ubuntu.html the endpoints should use the following URL: http://controller:8041 while in my case the 8041 port is not even listening and the API indicated in the dashboard for Gnocchi is http://<http://controller:8041>x.x.x.x/metric.

Thank you in advance.

Da: Matthias Runge <mrunge at matthias-runge.de>
Inviato: lunedì 28 febbraio 2022 19:37
A: openstack-discuss at lists.openstack.org <openstack-discuss at lists.openstack.org>
Oggetto: Re: [Devstack][Gnocchi][Ceilometer] Not able to retrieve metrics using ceilometer and gnocchi

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
> 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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220303/f267893f/attachment-0001.htm>

More information about the openstack-discuss mailing list