Fix Ceilometer floating ip pollster

Bug #1536338 reported by Pradeep Kilambi on 2016-01-20
6
This bug affects 1 person
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-424e-4037-a52d-13e2828f8f98 | 10.0.0.2 | public |
+----+------------+--------------------------------------+----------+--------+

$ 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
gordon chung (chungg) on 2016-01-21
Changed in ceilometer:
importance: Undecided → Medium

Reviewed: https://review.openstack.org/269369
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=1f9f4e1072a5e5037b93734bafcc65e4211eb19f
Submitter: Jenkins
Branch: master

commit 1f9f4e1072a5e5037b93734bafcc65e4211eb19f
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: I372e3a85b34f90ff9aba842d9598b468f90fe94f

Changed in ceilometer:
status: In Progress → Fix Released

This issue was fixed in the openstack/ceilometer 6.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers