Arik Hadas has posted comments on this change.

Change subject: virt: Additional reporting of CPU usage in ns
......................................................................


Patch Set 5:

is it possible that if I don't have guest-agent, I'll get the following error?

GuestMonitor-eldan_shmuel::ERROR::2015-05-12 
14:17:42,035::vm::1313::vm.Vm::(_getRunningVmStats) 
vmId=`c764b14b-3272-46db-93b6-f200ed7e8c5b`::Error fetching vm stats
Traceback (most recent call last):
  File "/usr/share/vdsm/virt/vm.py", line 1310, in _getRunningVmStats
    vm_sample.interval)
  File "/usr/share/vdsm/virt/vmstats.py", line 37, in produce
    cpu(stats, first_sample, last_sample, interval)
  File "/usr/share/vdsm/virt/vmstats.py", line 78, in cpu
    stats['cpuUsage'] = str(last_sample['system_time']
KeyError: 'system_time'

-- 
To view, visit https://gerrit.ovirt.org/38412
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I31fb4305511f0c2174b217ac24f0d96767c31803
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeen...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Vinzenz Feenstra <vfeen...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: No
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to