Monasca-agent libvirt.py check has missing parameter in _inspect_state method call

Bug #1600740 reported by Laszlo Hegedus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monasca
Fix Committed
Undecided
Laszlo Hegedus

Bug Description

I have tried out the libvirt check from latest master and observed the following lines repeating in collector log:

2016-07-11 05:06:46 EDT | ERROR | collector | monasca_agent.collector.checks.check.libvirt(check.py:248) | Check 'libvirt' instance #0 failed
Traceback (most recent call last):
  File "/root/monasca-venv/lib/python2.7/site-packages/monasca_agent/collector/checks/check.py", line 246, in run
    self.check(instance)
  File "/root/monasca-venv/lib/python2.7/site-packages/monasca_agent/common/../collector/checks_d/libvirt.py", line 643, in check
    dims_customer, dims_operations) != 0:
TypeError: _inspect_state() takes exactly 7 arguments (6 given)

The _inspec_state call in check is missing the inst_name parameter.

Revision history for this message
Laszlo Hegedus (laszlo-hegedus) wrote :

This change should fix the issue:

https://review.openstack.org/#/c/340263/

Changed in monasca:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.