Ask Your Question

Ceilometer not collecting/processing data for network floating ip and other metric.

asked 2019-08-02 07:41:41 -0500

Mohamedsaqib gravatar image

updated 2019-08-02 07:42:26 -0500

Hi, thank you for reading my question. I have Openstack Stein installed via packstack. There when I create resources in Openstack like volume, instances and floating ips. I can only see resources in gnocchi of types (generic,image,instance_network_interface,instance_disk,instance,volume_provider,image) in gnocchi resource list but not resources of other tyes like floating ips, networks etc. I am using packstack defaut configurations. So, somehow Ceilometer is getting notified for network resources creation and other events , but it is not processing / dropping those events , so I cannot see these resources in Gnocchi. My Ceilometer pipeline.yaml :- sources: - name: meter_source meters: - "*" sinks: - meter_sink sinks: - name: meter_sink publishers: - gnocchi:// - file:///var/log/ceilometer/meters To get floating ips and network resources created in Gnocchi, should I have to add something in meters.yaml or gnocchi_resources.yaml?

edit retag flag offensive close merge delete


Ceilometer creates resources and metrics in Gnocchi when it publishes the first sample. The resources you expect to be in Gnocchi might not have generated samples and therefore don't exist.

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-02 17:17:22 -0500 )edit

The list of Ceilometer data types doesn't seem to include floating IPs, by the way:

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-02 17:18:13 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-09-15 21:08:44 -0500

Mohamedsaqib gravatar image

Hi, I solved the problem. To get network and floating ip resources in Gnocchi , we have to poll them from Ceilometer. There are 2 ways in which Ceilometer collects data: 1) Polling i.e pulling metrics after regular intervals. 2) Listening to events on queues. So, to solve it I added this line in /etc/ceilometer/polling.yml

    - ip.floating
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2019-08-02 07:41:41 -0500

Seen: 402 times

Last updated: Sep 15 '19