Bug 1163386
| Summary: | Mom reporting KeyError: 'vcpuCount' on VM startup | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Lukas Svaty <lsvaty> |
| Component: | mom | Assignee: | Martin Sivák <msivak> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | urgent | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.5.0 | CC: | bmcclain, dfediuck, ecohen, gklein, iheim, lsurette, mavital, yeylon |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | 3.5.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | sla | ||
| Fixed In Version: | mom-0.4.1-2.el6ev | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-11 20:27:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1164308, 1164311 | ||
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 |
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.