Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No logs being generated in case of a masakari service failure #35

Open
MoizArif opened this issue Apr 18, 2016 · 1 comment
Open

No logs being generated in case of a masakari service failure #35

MoizArif opened this issue Apr 18, 2016 · 1 comment
Labels

Comments

@MoizArif
Copy link

While setting up and running Masakari for the first time. Instance monitor failed to start without generating any log files. Running python files for the particular service directly from the code throws out errors on console. There should be a way where such errors are reported directly in instancemonitor.log file even if the service is failing to start.

service masakari-instancemonitor start
Starting masakari-instancemonitor: *

service masakari-instancemonitor status
* masakari-instancemonitor is not running

python /opt/masakari/instancemonitor/masakari_instancemonitor.py

Traceback (most recent call last):
  File "/opt/masakari/instancemonitor/masakari_instancemonitor.py", line 29, in <module>
    import libvirt_eventfilter as evf
  File "/opt/masakari/instancemonitor/libvirt_eventfilter.py", line 29, in <module>
    from libvirt_callback import *
  File "/opt/masakari/instancemonitor/libvirt_callback.py", line 223, in <module>
    from httplib2 import Http
ImportError: No module named httplib2

pip install httplib2
service masakari-instancemonitor start

Result: SUCCESS

* masakari-instancemonitor is running
@sampathP sampathP added the bug label Apr 18, 2016
@sampathP
Copy link
Contributor

@MoizArif thank you.
I think we have to fix,
(1) loging
(2) change the rule file to install requirment.txt before setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants