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
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
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
pip install httplib2 service masakari-instancemonitor start
Result: SUCCESS