Fix the floatingip pollster

Ceilometer cannot poll and publish floatingip samples, this is
because Nova and Novaclient didn't provide floatingips that don't belong
to the project of the current context.
After merging the following patches it will be possible if parameter
all_tenants is enabled.

I7ab1d5ff463fc29928f6811f846c9e204390a412
I4549341badfdb846c03f2828159c46bc4c4a2c77
I35a2155401247d49017bf3c03341b082cb87750d

Change-Id: Ib5a22d6ba6a815f61713194accb4ece11171f706
Closes-bug: #1262124
This commit is contained in:
liu-sheng 2014-03-28 14:49:44 +08:00
parent a0a6cf7733
commit 8057b66c0b
1 changed files with 1 additions and 1 deletions

View File

@ -117,4 +117,4 @@ class Client(object):
@logged
def floating_ip_get_all(self):
"""Returns all floating ips."""
return self.nova_client.floating_ips.list()
return self.nova_client.floating_ips.list(all_tenants=True)