My setup:
OpenStack Compute (Nova): 2015.1
OS: CentOS 7.1
collectd: 5.5.0
Log message:
Aug 27 11:01:06 controller collectd[6660]: openstack-nova: failed to get stats :: 'NovaPlugin' object has no attribute 'AllocationRatioCores' :: Traceback (most recent call last):
File "/usr/lib64/collectd/plugins/openstack/base.py", line 138, in read_callback
stats = self.get_stats()
File "/usr/lib64/collectd/plugins/openstack/nova_plugin.py", line 79, in get_stats
data[self.prefix]['cluster']['config'][item] = getattr(self, item)
AttributeError: 'NovaPlugin' object has no attribute 'AllocationRatioCores'
Aug 27 11:01:06 controller collectd[6660]: Unhandled python exception in read callback: UnboundLocalError: local variable 'stats' referenced before assignment
Aug 27 11:01:06 controller collectd[6660]: read-function of plugin `python.nova_plugin' failed. Will suspend it for 120.000 seconds.
Thanks in advance for your help!
My setup:
OpenStack Compute (Nova): 2015.1
OS: CentOS 7.1
collectd: 5.5.0
Log message:
Aug 27 11:01:06 controller collectd[6660]: openstack-nova: failed to get stats :: 'NovaPlugin' object has no attribute 'AllocationRatioCores' :: Traceback (most recent call last): File "/usr/lib64/collectd/plugins/openstack/base.py", line 138, in read_callback stats = self.get_stats() File "/usr/lib64/collectd/plugins/openstack/nova_plugin.py", line 79, in get_stats data[self.prefix]['cluster']['config'][item] = getattr(self, item) AttributeError: 'NovaPlugin' object has no attribute 'AllocationRatioCores' Aug 27 11:01:06 controller collectd[6660]: Unhandled python exception in read callback: UnboundLocalError: local variable 'stats' referenced before assignment Aug 27 11:01:06 controller collectd[6660]: read-function of plugin `python.nova_plugin' failed. Will suspend it for 120.000 seconds.Thanks in advance for your help!