Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16DB510ACF for ; Mon, 6 Jan 2014 13:12:13 +0000 (UTC) Received: (qmail 38193 invoked by uid 500); 6 Jan 2014 13:12:07 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 38056 invoked by uid 500); 6 Jan 2014 13:12:03 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 37956 invoked by uid 500); 6 Jan 2014 13:11:59 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 37868 invoked by uid 99); 6 Jan 2014 13:11:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 13:11:57 +0000 Date: Mon, 6 Jan 2014 13:11:57 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5472) UI shows incorrect vm statistics if vm deployed with dynamic compute offering MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5472?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13862968#comment-13862968 ]=20 ASF subversion and git services commented on CLOUDSTACK-5472: ------------------------------------------------------------- Commit 4dd38a9fb09d13df6fd58bfc7ab19d37c0508308 in branch refs/heads/4.3 fr= om [~bharat.kumar] [ https://git-wip-us.apache.org/repos/asf?p=3Dcloudstack.git;h=3D4dd38a9 ] CLOUDSTACK-5472 fixed the listvirtualmachines API to show cpu, memory and c= pucores when using custom compute offering > UI shows incorrect vm statistics if vm deployed with dynamic compute offe= ring=20 > -------------------------------------------------------------------------= ----- > > Key: CLOUDSTACK-5472 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-547= 2 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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=3D0 > My observation > -------------------- > API response shows cpunumber":0,"cpuspeed":0,"memory":0,"cpuused":"0% whi= ch is incorrect. > Details > =3D=3D=3D=3D=3D=3D > API > ----- > http://10.147.38.177:8080/client/api?command=3DlistVirtualMachines&detail= s=3Dstats&id=3D352a9b66-4539-4117-9cea-ca9dd5da00fa&response=3Djson&session= key=3D51sujrtdCbNbXHU3LotE2wx6UMk%3D&_=3D1386828570170 > API Response > ----------------- > { "listvirtualmachinesresponse" : { "count":1 ,"virtualmachine" : [ {"id= ":"352a9b66-4539-4117-9cea-ca9dd5da00fa","name":"last","displayname":"last"= ,"account":"admin","domainid":"45b3c110-6261-11e3-87cf-06544800003b","domai= n":"ROOT","created":"2013-12-12T06:24:40-0500","state":"Running","haenable"= :false,"zoneid":"cb7aee87-73fb-4da4-a384-2e209b132c95","zonename":"z1","hos= tid":"d46817a4-5e4a-4701-b3ba-188cafcb66db","hostname":"Rack1Pod1Host7","cp= unumber":0,"cpuspeed":0,"memory":0,"cpuused":"0%","networkkbsread":1,"netwo= rkkbswrite":1,"diskkbsread":0,"diskkbswrite":0,"diskioread":0,"diskiowrite"= :0,"guestosid":"45d3b830-6261-11e3-87cf-06544800003b","securitygroup":[],"n= ic":[{"id":"0786bc57-2423-4e07-8925-5f6dfac5f962","networkid":"5967fab2-8ca= 9-415e-b78d-114851a1d072","networkname":"new","netmask":"255.255.255.0","ga= teway":"10.1.1.1","ipaddress":"10.1.1.144","isolationuri":"vlan://1103","br= oadcasturi":"vlan://1103","traffictype":"Guest","type":"Isolated","isdefaul= t":true,"macaddress":"02:00:09:23:00:05"}],"hypervisor":"XenServer","instan= cename":"i-2-13-VM","tags":[],"affinitygroup":[],"displayvm":true,"isdynami= callyscalable":true} ] } } -- This message was sent by Atlassian JIRA (v6.1.5#6160)