cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prashant kumar mishra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5472) UI shows incorrect vm statistics if vm deployed with dynamic compute offering
Date Thu, 12 Dec 2013 06:31:08 GMT
prashant kumar mishra created CLOUDSTACK-5472:
-------------------------------------------------

             Summary: 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


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)

Mime
View raw message