From 8057b66c0b7ac87863f175d850414bc0ed260ab2 Mon Sep 17 00:00:00 2001 From: liu-sheng Date: Fri, 28 Mar 2014 14:49:44 +0800 Subject: [PATCH] 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 --- ceilometer/nova_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometer/nova_client.py b/ceilometer/nova_client.py index b96899c71..2df27aa83 100644 --- a/ceilometer/nova_client.py +++ b/ceilometer/nova_client.py @@ -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)