diff options
author | liu-sheng <liusheng@huawei.com> | 2014-03-28 14:49:44 +0800 |
---|---|---|
committer | liu-sheng <liusheng@huawei.com> | 2014-05-26 08:59:26 +0800 |
commit | 8057b66c0b7ac87863f175d850414bc0ed260ab2 (patch) | |
tree | 21b01a496a5156681929dd3290a50571716f3f59 /ceilometer/nova_client.py | |
parent | a0a6cf773390f764fc4094784e5756744edc31b9 (diff) | |
download | ceilometer-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.py | 2 |
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) |