You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "prashant kumar mishra (JIRA)" <ji...@apache.org> on 2013/12/18 10:34:08 UTC

[jira] [Commented] (CLOUDSTACK-5472) UI shows incorrect vm statistics if vm deployed with dynamic compute offering

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851525#comment-13851525 ] 

prashant kumar mishra commented on CLOUDSTACK-5472:
---------------------------------------------------

#cpu , cpuspeed, memory in listVirtualMachine API   are zero for vm deployed using dynamic compute offerings


 "listvirtualmachinesresponse" : { "count":4 ,"virtualmachine" : [  {"id":"a63efea1-244f-4c2a-8b44-813ace4ef154","name":"aftupg","displayname":"aftupg","account":"admin","domainid":"f04d4cd2-67e2-11e3-835e-06896a000026","domain":"ROOT","created":"2013-12-18T20:21:25+0530","state":"Running","haenable":false,"zoneid":"ade45301-6fef-44df-be26-c8c6e6b45d45","zonename":"zone","hostid":"cb46d81a-3f12-4444-8888-b61372ac116a","hostname":"Rack1Pod1Host8","templateid":"f0527a36-67e2-11e3-835e-06896a000026","templatename":"CentOS 5.6(64-bit) no GUI (XenServer)","templatedisplaytext":"CentOS 5.6(64-bit) no GUI (XenServer)","passwordenabled":false,"serviceofferingid":"da7fb023-a1e4-42dc-b4ff-b092c87b8636","serviceofferingname":"dm","cpunumber":0,"cpuspeed":0,"memory":0,"cpuused":"0.67%","networkkbsread":1,"networkkbswrite":1,"diskkbsread":0,"diskkbswrite":0,"diskioread":0,"diskiowrite":0,"guestosid":"f05e0efa-67e2-11e3-835e-06896a000026","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],

> UI shows incorrect vm statistics if vm deployed with dynamic compute offering 
> ------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5472
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5472
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>            Reporter: prashant kumar mishra
>            Assignee: Bharat Kumar
>         Attachments: Logs_db.rar, screenshot-1.jpg
>
>
> Steps to repro
> --------------------
> 1-prepare CS setup with xen6.2
> 2-create a dynamic SO d1
> 3-deploy a vm with d1
> 4-check vm statistics in UI
> Actual
> --------
> vm statistics shows Total cpu=0
> My observation
> --------------------
> API response shows cpunumber":0,"cpuspeed":0,"memory":0,"cpuused":"0% which is incorrect.
> Details
> ======
> API
> -----
> http://10.147.38.177:8080/client/api?command=listVirtualMachines&details=stats&id=352a9b66-4539-4117-9cea-ca9dd5da00fa&response=json&sessionkey=51sujrtdCbNbXHU3LotE2wx6UMk%3D&_=1386828570170
> API Response
> -----------------
> { "listvirtualmachinesresponse" : { "count":1 ,"virtualmachine" : [  {"id":"352a9b66-4539-4117-9cea-ca9dd5da00fa","name":"last","displayname":"last","account":"admin","domainid":"45b3c110-6261-11e3-87cf-06544800003b","domain":"ROOT","created":"2013-12-12T06:24:40-0500","state":"Running","haenable":false,"zoneid":"cb7aee87-73fb-4da4-a384-2e209b132c95","zonename":"z1","hostid":"d46817a4-5e4a-4701-b3ba-188cafcb66db","hostname":"Rack1Pod1Host7","cpunumber":0,"cpuspeed":0,"memory":0,"cpuused":"0%","networkkbsread":1,"networkkbswrite":1,"diskkbsread":0,"diskkbswrite":0,"diskioread":0,"diskiowrite":0,"guestosid":"45d3b830-6261-11e3-87cf-06544800003b","securitygroup":[],"nic":[{"id":"0786bc57-2423-4e07-8925-5f6dfac5f962","networkid":"5967fab2-8ca9-415e-b78d-114851a1d072","networkname":"new","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddress":"10.1.1.144","isolationuri":"vlan://1103","broadcasturi":"vlan://1103","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:09:23:00:05"}],"hypervisor":"XenServer","instancename":"i-2-13-VM","tags":[],"affinitygroup":[],"displayvm":true,"isdynamicallyscalable":true} ] } }



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)