Fix Ceilometer floating ip pollster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Pradeep Kilambi |
Bug Description
Currently when ceilometer agnt polls for floatingip samples, it talks to the nova api. But the problem is nova api does not return the floatingip's for all tenant and filters by current context in this case is the service tenant for ceilometer. SO the result is always empty. This is the same behavior in both nova-net as well as neutron scenario.
$ nova floating-ip-list
+----+-
| Id | IP | Server Id | Fixed IP | Pool |
+----+-
| 1 | 172.24.4.1 | ef6b7e03-
+----+-
$ ceilometer meter-list |grep floating
$
Instead the proposal is to use neutron api to poll the floating ip which gives the right info as expected.
Changed in nova: | |
assignee: | nobody → Pradeep Kilambi (pkilambi) |
affects: | nova → ceilometer |
Changed in ceilometer: | |
status: | New → In Progress |
Changed in ceilometer: | |
importance: | Undecided → Medium |
Reviewed: https:/ /review. openstack. org/269369 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=1f9f4e1072a 5e5037b93734baf cc65e4211eb19f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1f9f4e1072a5e50 37b93734bafcc65 e4211eb19f
Author: Pradeep Kilambi <email address hidden>
Date: Mon Jan 18 18:38:00 2016 -0500
Fix ceilometer floatingip pollster
The existing floatingip pollster talks to nova api
to get the floatingip data. There are limitations
in nova api wrt returning this info for all the tenants
as stated in the bug#1402514. This patch changes
the pollster to use the neutron api to get this
data instead.
Considering this is a network related pollster and in most
cases network networking manages the floating ips now,
it makes sense to get this data from neutron.
Closes-Bug: #1536338
Change-Id: I372e3a85b34f90 ff9aba842d9598b 468f90fe94f