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

Molka Gharbaoui Molka.Gharbaoui at santannapisa.it
Tue Mar 8 14:56:29 UTC 2022


I left the instance running for more than 1 hour and now when I check the logs of "ceilometer-polling" I can see the following messages:

DEBUG ceilometer.compute.pollsters [-] 3ef0373a-558c-4818-b693-7536ee70d283/network.outgoing.bytes volume: 3608 _stats_to_sample /opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:108
DEBUG ceilometer.compute.pollsters [-] 3ef0373a-558c-4818-b693-7536ee70d283/network.outgoing.packets volume: 25 _stats_to_sample /opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:108
DEBUG ceilometer.compute.pollsters [-] 3ef0373a-558c-4818-b693-7536ee70d283/disk.device.write.requests volume: 4568 _stats_to_sample /opt/stack/ceilometer/ceilometer/compute/pollsters/__init__.py:108

So I guess that Ceilometer is starting to poll some statistics.

The "gnocchi resource list" also now gives the following output:
ID                                                                   Type
3ef0373a-558c-4818-b693-7536ee70d283 | instance

However, the "gnocchi metric list" is still empty.

Looking in the logs of "ceilometer-agent-notification", I found the following error:
ERROR ceilometer.pipeline.sample [-] Pipeline meter_sink: Continue after error from publisher <ceilometer.publisher.gnocchi.GnocchiPublisher object at 0x7fc9800f9ee0>: gnocchiclient.exceptions.Conflict: <html>
 <head>
  <title>409 Conflict</title>
 </head>
 <body>
  <h1>409 Conflict</h1>
  There was a conflict when trying to complete your request.<br /><br />
Archive policy ceilometer-low already exists
 </body>
</html> (HTTP 409)

Do you know how to resolve this?

Thanks.



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


More information about the openstack-discuss mailing list