libvirt.yaml failed to load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Monasca |
New
|
Undecided
|
Unassigned |
Bug Description
Followed the below link to install monasa using devstack.
https:/
For vm stats copied libvirt.yam from
/opt/stack/
Restart is succeful but the libvirt plugin failed to load with the below error (in collector.log):
2016-03-20 13:44:47 EDT | WARNING | collector | monasca_
2016-03-20 13:44:47 EDT | ERROR | collector | monasca_
Traceback (most recent call last):
File "/opt/monasca-
self.
File "/opt/monasca-
for inst in insp._get_
AttributeError: 'Inspector' object has no attribute '_get_connection'
2016-03-20 13:45:02 EDT | WARNING | collector | monasca_
2016-03-20 13:45:02 EDT | ERROR | collector | monasca_
Traceback (most recent call last):
File "/opt/monasca-
self.
File "/opt/monasca-
for inst in insp._get_
AttributeError: 'Inspector' object has no attribute '_get_connection'
Hi,
I managed to reproduce the issue in DevStack on current master.
2016-05-03 08:01:04 CEST | ERROR | collector | monasca_ agent.collector .checks. check.libvirt( check.py: 248) | Check 'libvirt' instance #0 failed agent/local/ lib/python2. 7/site- packages/ monasca_ agent/collector /checks/ check.py" , line 246, in run check(instance) agent/lib/ python2. 7/site- packages/ monasca_ agent/common/ ../collector/ checks_ d/libvirt. py", line 428, in check connection( ).listAllDomain s():
Traceback (most recent call last):
File "/opt/monasca-
self.
File "/opt/monasca-
for inst in insp._get_
AttributeError: 'Inspector' object has no attribute '_get_connection'
I'd like to look into this and try to find a solution if no one is working on it right now.