summaryrefslogtreecommitdiff
path: root/ceilometer/nova_client.py
diff options
context:
space:
mode:
authorliu-sheng <liusheng@huawei.com>2014-03-28 14:49:44 +0800
committerliu-sheng <liusheng@huawei.com>2014-05-26 08:59:26 +0800
commit8057b66c0b7ac87863f175d850414bc0ed260ab2 (patch)
tree21b01a496a5156681929dd3290a50571716f3f59 /ceilometer/nova_client.py
parenta0a6cf773390f764fc4094784e5756744edc31b9 (diff)
downloadceilometer-8057b66c0b7ac87863f175d850414bc0ed260ab2.tar.gz
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
Diffstat (limited to 'ceilometer/nova_client.py')
-rw-r--r--ceilometer/nova_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ceilometer/nova_client.py b/ceilometer/nova_client.py
index b96899c7..2df27aa8 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)