zenoss / ZenPacks.zenoss.CloudStack

Monitoring CloudStack with Zenoss
http://wiki.zenoss.org/ZenPack:CloudStack
GNU General Public License v2.0
23 stars 11 forks source link

CloudStack3: No data returned for command #8

Closed cluther closed 12 years ago

cluther commented 12 years ago

I'm able to discover my CloudStack 3 cloud, but instead of getting metrics collected I get a lot of events with "No data returned for command" as the summary.

Running zencommand run -v10 --showfullcommand --showrawresults shows the following error in collection.

Traceback (most recent call last):
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 791, in _cbDeferred
    self.callback(self.resultList)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 361, in callback
    self._startRunCallbacks(result)
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/opt/zenoss/lib/python/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/opt/zenoss/libexec/poll_cloudstack.py", line 478, in _callback
    data['listcapacityresponse'])
  File "/opt/zenoss/libexec/poll_cloudstack.py", line 402, in _process_listCapacity
    metric_name = metric_name_map[(c_type, c_key)]
exceptions.KeyError: ('unknown', 'capacitytotal')
cluther commented 12 years ago

The fix above is probably just a workaround to make things work until I can see what new capacity metrics are available in CloudStack 3.