[ovirt-devel] cpuTune stats overflowing xmlrpc

Adam Litke alitke at redhat.com
Thu Jun 19 15:20:30 UTC 2014


On 19/06/14 10:35 -0400, Martin Sivak wrote:
>Hi Adam,
>
>can you identify the actual value that causes this?
>
>The cpu code added only percentages and vcpuQuota/Period.. all those numbers are pretty low.
>
>I do not see anything that would be more than 2^32 big (4 bilion iirc) in that code..


Thread-19::DEBUG::2014-06-19
11:19:09,655::BindingXMLRPC::1114::vds::(wrapper) return vmGetStats
with {'status': {'message': 'Done', 'code': 0}, 'statsList':
[{'displayInfo': [{'tlsPort': u'5900', 'ipAddress': '192.168.2.101',
'type': 'spice', 'port': '-1'}], 'memUsage': '0', 'acpiEnable':
'true', 'guestFQDN': '', 'pid': '1371', 'session': 'Unknown',
'vmType': 'kvm', 'timeOffset': '0', 'balloonInfo': {'balloon_max':
'1048576', 'balloon_target': 0, 'balloon_cur': '1048576',
'balloon_min': '1048576'}, 'pauseCode': 'NOERR', 'network': {u'vnet0':
{'macAddr': '00:1a:4a:3f:44:ad', 'rxDropped': '0', 'rxErrors': '0',
'txDropped': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0',
'state': 'unknown', 'speed': '1000', 'name': u'vnet0'}}, 'vmJobs': {},
'cpuUser': '1.68', 'elapsedTime': '21', 'displayType': 'qxl',
'cpuSys': '0.33', 'appsList': [], 'vcpuCount': '1', 'clientIp': '',
'hash': '-8539662102253950265', 'vmId':
'359a9045-34e2-40d2-ba5f-ba614421a624', 'displayIp': '192.168.2.101',
'vcpuPeriod': 100000L, 'displayPort': '-1', 'vcpuQuota':
18446744073709551615L, 'kvmEnable': 'true', 'disks': {u'vda':
{'readLatency': '0', 'apparentsize': '197120', 'writeLatency': '0',
'imageID': 'cf6594ae-ac06-47ea-931e-9f280c271a05', 'flushLatency':
'0', 'truesize': '200704'}, u'hdc': {'flushLatency': '0',
'readLatency': '0', 'truesize': '0', 'apparentsize': '0',
'writeLatency': '0'}}, 'monitorResponse': '0', 'statsAge': '0.85',
'username': 'Unknown', 'status': 'Powering up', 'guestCPUCount': -1,
'guestIPs': '', 'displaySecurePort': u'5900'}]}

'vcpuQuota': 18446744073709551615L <-- smoking gun

-- 
Adam Litke



More information about the Devel mailing list