But still monasca is unable to monitor the newly created vm.
Here is the log:
2016-04-19 00:13:28 MDT | ERROR | collector |
monasca_agent.collector.checks.check.libvirt(libvirt.py:451) |
instance-00000002 is not known to nova after instance cache update --
skipping this ghost VM.
Already bug is raised on the above issue and it is in closed state,but it
is not working in the lates setup. https://bugs.launchpad.net/monasca/+bug/1486688
With Best Regards
Raghunath Dudyala
Tata Consultancy Services Limited
Mailto: <email address hidden>
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services Business Solutions Consulting
____________________________________________
From: Laszlo Hegedus <email address hidden>
To: <email address hidden>
Date: 05/03/2016 12:05 PM
Subject: [Bug 1559758] Re: libvirt.yaml failed to load
Sent by: <email address hidden>
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
Traceback (most recent call last):
File
"/opt/monasca-agent/local/lib/python2.7/site-packages/monasca_agent/collector/checks/check.py",
line 246, in run
self.check(instance)
File
"/opt/monasca-agent/lib/python2.7/site-packages/monasca_agent/common/../collector/checks_d/libvirt.py",
line 428, in check
for inst in insp._get_connection().listAllDomains():
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.
/opt/stack/monasca-agent/conf.d/libvirt.yaml.example to
/etc/monasca/agent/conf.d/libvirt.yaml and restartednasca-agent.
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_agent.collector.checks.check.libvirt(libvirt.py:228) | Metrics
cache missing or corrupt, rebuilding.
2016-03-20 13:44:47 EDT | ERROR | collector |
monasca_agent.collector.checks.check.libvirt(check.py:565) | Check
'libvirt' instance #0 failed
Traceback (most recent call last):
File
"/opt/monasca-agent/local/lib/python2.7/site-packages/monasca_agent/collector/checks/check.py",
line 556, in run
self.check(instance)
File
"/opt/monasca-agent/lib/python2.7/site-packages/monasca_agent/common/../collector/checks_d/libvirt.py",
line 425, in check
for inst in insp._get_connection().listAllDomains():
AttributeError: 'Inspector' object has no attribute '_get_connection'
2016-03-20 13:45:02 EDT | WARNING | collector |
monasca_agent.collector.checks.check.libvirt(libvirt.py:228) | Metrics
cache missing or corrupt, rebuilding.
2016-03-20 13:45:02 EDT | ERROR | collector |
monasca_agent.collector.checks.check.libvirt(check.py:565) | Check
'libvirt' instance #0 failed
Traceback (most recent call last):
File
"/opt/monasca-agent/local/lib/python2.7/site-packages/monasca_agent/collector/checks/check.py",
line 556, in run
self.check(instance)
File
"/opt/monasca-agent/lib/python2.7/site-packages/monasca_agent/common/../collector/checks_d/libvirt.py",
line 425, in check
for inst in insp._get_connection().listAllDomains():
AttributeError: 'Inspector' object has no attribute '_get_connection'
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hi,
The issue related to 1559758 is resolved by installing libvirt-python
,lxml,nova and neutron clients.
/opt/monasca- agent/bin/ pip install libvirt-python agent/bin/ pip install lxml
/opt/monasca-
But still monasca is unable to monitor the newly created vm.
Here is the log: agent.collector .checks. check.libvirt( libvirt. py:451) | /bugs.launchpad .net/monasca/ +bug/1486688
2016-04-19 00:13:28 MDT | ERROR | collector |
monasca_
instance-00000002 is not known to nova after instance cache update --
skipping this ghost VM.
Already bug is raised on the above issue and it is in closed state,but it
is not working in the lates setup.
https:/
With Best Regards www.tcs. com _______ _______ _______ _______ _______ __
Business Solutions
Consulting _______ _______ _______ _______ _______ __
Raghunath Dudyala
Tata Consultancy Services Limited
Mailto: <email address hidden>
Website: http://
_______
Experience certainty. IT Services
_______
From: Laszlo Hegedus <email address hidden>
To: <email address hidden>
Date: 05/03/2016 12:05 PM
Subject: [Bug 1559758] Re: libvirt.yaml failed to load
Sent by: <email address hidden>
Hi,
I managed to reproduce the issue in DevStack on current master.
2016-05-03 08:01:04 CEST | ERROR | collector | agent.collector .checks. check.libvirt( check.py: 248) | Check agent/local/ lib/python2. 7/site- packages/ monasca_ agent/collector /checks/ check.py" , check(instance) agent/lib/ python2. 7/site- packages/ monasca_ agent/common/ ../collector/ checks_ d/libvirt. py", connection( ).listAllDomain s():
monasca_
'libvirt' instance #0 failed
Traceback (most recent call last):
File
"/opt/monasca-
line 246, in run
self.
File
"/opt/monasca-
line 428, in check
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.
-- /bugs.launchpad .net/bugs/ 1559758
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
libvirt.yaml failed to load
Status in Monasca:
New
Bug description: /github. com/openstack/ monasca- api/tree/ master/ devstack
Followed the below link to install monasa using devstack.
https:/
For vm stats copied libvirt.yam from
/opt/ stack/monasca- agent/conf. d/libvirt. yaml.example to agent/conf. d/libvirt. yaml and restartednasca- agent.
/etc/monasca/
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 | agent.collector .checks. check.libvirt( libvirt. py:228) | Metrics agent.collector .checks. check.libvirt( check.py: 565) | Check agent/local/ lib/python2. 7/site- packages/ monasca_ agent/collector /checks/ check.py" , check(instance) agent/lib/ python2. 7/site- packages/ monasca_ agent/common/ ../collector/ checks_ d/libvirt. py", connection( ).listAllDomain s(): agent.collector .checks. check.libvirt( libvirt. py:228) | Metrics agent.collector .checks. check.libvirt( check.py: 565) | Check agent/local/ lib/python2. 7/site- packages/ monasca_ agent/collector /checks/ check.py" , check(instance) agent/lib/ python2. 7/site- packages/ monasca_ agent/common/ ../collector/ checks_ d/libvirt. py", connection( ).listAllDomain s():
monasca_
cache missing or corrupt, rebuilding.
2016-03-20 13:44:47 EDT | ERROR | collector |
monasca_
'libvirt' instance #0 failed
Traceback (most recent call last):
File
"/opt/monasca-
line 556, in run
self.
File
"/opt/monasca-
line 425, in check
for inst in insp._get_
AttributeError: 'Inspector' object has no attribute '_get_connection'
2016-03-20 13:45:02 EDT | WARNING | collector |
monasca_
cache missing or corrupt, rebuilding.
2016-03-20 13:45:02 EDT | ERROR | collector |
monasca_
'libvirt' instance #0 failed
Traceback (most recent call last):
File
"/opt/monasca-
line 556, in run
self.
File
"/opt/monasca-
line 425, in check
for inst in insp._get_
AttributeError: 'Inspector' object has no attribute '_get_connection'
To manage notifications about this bug go to: /bugs.launchpad .net/monasca/ +bug/1559758/ +subscriptions
https:/
=====-- ---==== =-----= ====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you