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
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']['vcpuCount']
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run VM with GA installed
2. See mom logs during vm start
Log spammed by mentioned keyerror.
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
File "/usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmInterface.py", line 46, in _check_status
raise vdsmException(response, self.logger)
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.