Unable to get neutron metering notification Data for Routers

asked 2014-06-09 23:57:37 -0600

vikrant gravatar image

updated 2014-06-10 04:20:00 -0600

Hi All,

I have configured neutron metering agent as per the link - https://wiki.openstack.org/wiki/Neutron/Metering/Bandwidth (https://wiki.openstack.org/wiki/Neutr...) , I want to collect the Router metering information.

I created metering Label and Rules using the commands "neutron meter-label-create" and "neutron meter-label-rule-create" . But i am not getting the Metering Notification Data in the metering_agent.log file.

Also with the some debugging of the code i found that the function "_get_traffic_counters" in metering_agent.py is not furnishing the traffic counter data.

Unable to get router id in the code rm = self.routers.get(router['rid']) . Please find the code details in the link - https://github.com/openstack/neutron/blob/stable/icehouse/neutron/services/metering/drivers/iptables/iptables_driver.py#L263 (https://github.com/openstack/neutron/...)

Please help.

Regards, Vikrant

edit retag flag offensive close merge delete