You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "angeline shen (JIRA)" <ji...@apache.org> on 2013/06/07 00:42:20 UTC
[jira] [Created] (CLOUDSTACK-2885) API listVirtualMachines -
listvirtualmachinesresponse should include "cpunumber" and "cpuspeed"
angeline shen created CLOUDSTACK-2885:
-----------------------------------------
Summary: API listVirtualMachines - listvirtualmachinesresponse should include "cpunumber" and "cpuspeed"
Key: CLOUDSTACK-2885
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2885
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API
Affects Versions: 4.2.0
Environment: MS ASF 4.2 build CloudStack-non-OSS-MASTER-452-rhel6.3.tar.gz
vmware ESXi 5.0 hosts
Reporter: angeline shen
Priority: Critical
Fix For: 4.2.0
1. advance zone with PVLAN setup. add hosts
2. deploy VMs.
UI: select VMs > statistics>
Result: Total CPU shows "undefined x"
API response does NOT include "cpunumber" and "cpuspeed"
API call:
http://10.223.50.3:8080/client/api?command=listVirtualMachines&details=stats&id=648103d4-b3d8-401b-aaeb-5d6fdf75fbc7&response=json&sessionkey=RV1iRzQ3pg636vVZIwdbrJlAJXU%3D&_=1370557934692
API response:
{ "listvirtualmachinesresponse" : { "count":1 ,"virtualmachine" : [ {"id":"648103d4-b3d8-401b-aaeb-5d6fdf75fbc7","name":"vm1612V81","displayname":"vm1612V81","account":"admin","domainid":"ec9a7ec4-ce3c-11e2-add9-f923bf56723a","domain":"ROOT","created":"2013-06-05T18:24:42-0700","state":"Stopping","haenable":true,"zoneid":"e3158d1a-7f1b-4675-a2b6-e5fcaaf66c66","zonename":"z1","zonetype":"Advanced","hostid":"1836a0d4-af1a-4ea2-9ccb-6e203b088b4c","hostname":"10.223.81.40","cpuused":"45%","networkkbsread":0,"networkkbswrite":0,"diskkbsread":0,"diskkbswrite":0,"diskioread":0,"diskiowrite":0,"guestosid":"ed3b4142-ce3c-11e2-add9-f923bf56723a","securitygroup":[],"nic":[],"hypervisor":"VMware","instancename":"i-2-8-VM","tags":[],"affinitygroup":[],"displayvm":true} ] } }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira