Ask Your Question
0

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

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

Mohamedsaqib gravatar image

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

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

Comments

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 -0600 )edit

The list of Ceilometer data types doesn't seem to include floating IPs, by the way: https://docs.openstack.org/ceilometer...

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

1 answer

Sort by ยป oldest newest most voted
0

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

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

  meters:
    - ip.floating
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 102 times

Last updated: Sep 15