← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262124] Re: Ceilometer cannot poll and publish floatingip samples

 

** Changed in: python-novaclient
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1262124

Title:
  Ceilometer cannot poll and publish floatingip samples

Status in OpenStack Telemetry (Ceilometer):
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Manuals:
  Incomplete
Status in Python client library for Nova:
  Fix Released

Bug description:
  The ceilometer central agent pull and pubulish floatingip samples or other types of samples .but it cannot get valid samples of floatingip.
  The reason is ceilometer floatingip poster call nova API  "list" metod of nova.api.openstack.compute.contrib.floating_ips.FloatingIPController, this API get floatingips filtered by context.project_id.

  The current context.project_id is the id of tenant "service".So,the
  result is {"floatingips": []}

  the logs of nova-api-os-compute is:

  http://paste.openstack.org/show/55285/

  Here,ceilometer invoke novaclient to list floatingips,and novaclient call nova API,then,the nova API will call nova network API or neutron API with:
      client.list_floatingips(tenant_id=project_id)['floatingips']

  Novaclient can not list other tenant's floatingip but only the tenant
  of current context.

  So, I think we should modify the nova API with adding a parameter like
  "all_tenant" which accessed by admin role.

  This should be confirmed?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1262124/+subscriptions