Description of problem: During VM start: 2014-11-12 04:07:37,430 - mom.Monitor - INFO - GuestMonitor-balloon-1 starting 2014-11-12 04:07:37,431 - mom.Collectors.GuestMemory - WARNING - getVmMemoryStats() error: The ovirt-guest-agent is not active 2014-11-12 04:07:37,432 - mom.Monitor - ERROR - GuestMonitor-balloon-1 crashed Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mom/GuestMonitor.py", line 56, in run self.collect() File "/usr/lib/python2.7/site-packages/mom/Monitor.py", line 91, in collect collected = c.collect() File "/usr/lib/python2.7/site-packages/mom/Collectors/GuestCpuTune.py", line 44, in collect stat = self.hypervisor_iface.getVmCpuTuneInfo(self.uuid) File "/usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmInterface.py", line 184, in getVmCpuTuneInfo vcpuCount = response['statsList'][0]['vcpuCount'] KeyError: 'vcpuCount' Version-Release number of selected component (if applicable): vt9 How reproducible: 100% Steps to Reproduce: 1. Run VM with GA installed 2. See mom logs during vm start Actual results: Log spammed by mentioned keyerror. Expected results: Mom should wait while the guest-agent is loaded on VM and that try to get stats from it.
also on shutdown this appers from time to time in the events: 2014-11-12 04:27:51,325 - mom.vdsmInterface - ERROR - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmInterface.py", line 210, in setVmCpuTune self._check_status(response) File "/usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmInterface.py", line 46, in _check_status raise vdsmException(response, self.logger) vdsmException
We already have a fix for the first issue. Only a downstream rebuild is needed.
verified in mom-0.4.1-2.el6ev
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0186.html