[ovirt-users] mom - ERROR - Unable to import hypervisor interface: libvirt

Adam Litke alitke at redhat.com
Fri Apr 17 14:13:44 UTC 2015


On 17/04/15 15:43 +0300, Tiit Kaeeli wrote:
>Hi,
>
>MOM 0.4.3 crashes with the following output:
>
># momd -c /etc/momd.conf -r /etc/momd.rules
>2015-04-17 15:40:40,592 - mom - INFO - MOM starting
>2015-04-17 15:40:40,593 - mom.HostMonitor - INFO - Host Monitor starting
>2015-04-17 15:40:40,594 - mom - INFO - hypervisor interface libvirt
>2015-04-17 15:40:40,595 - mom - ERROR - Unable to import hypervisor 
>interface: libvirt
>2015-04-17 15:40:40,595 - mom.GuestManager - INFO - Guest Manager starting
>2015-04-17 15:40:40,596 - mom.GuestManager - INFO - Guest Manager ending
>2015-04-17 15:40:40,630 - mom.Policy - INFO - Loaded policy '50_main_'
>2015-04-17 15:40:40,631 - mom.PolicyEngine - INFO - Policy Engine starting
>2015-04-17 15:40:40,632 - mom.HostMonitor - INFO - HostMonitor is ready
>2015-04-17 15:40:40,632 - mom.RPCServer - INFO - RPC Server is disabled
>2015-04-17 15:40:40,633 - mom.PolicyEngine - INFO - Policy Engine ending
>2015-04-17 15:40:45,633 - mom - INFO - MOM ending
>
>
># dpkg -l |grep libvirt
>ii  libvirt-bin                    1.2.9-9                      amd64 
>programs for the libvirt library
>ii  libvirt-clients                1.2.9-9                      amd64 
>programs for the libvirt library
>ii  libvirt-daemon                 1.2.9-9                      amd64 
>programs for the libvirt library
>ii  libvirt-daemon-system          1.2.9-9                      amd64 
>Libvirt daemon configuration files
>ii  libvirt0                       1.2.9-9                      amd64 
>library for interfacing with different virtualization systems
>
>Any ideas?

Looks like you're missing libvirt-python.  Please install it and if
you still encounter the problem post your /var/log/mom.log and
/etc/momd.conf files.  

-- 
Adam Litke



More information about the Users mailing list