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 8529E101BB for ; Sun, 1 Sep 2013 11:12:54 +0000 (UTC) Received: (qmail 31977 invoked by uid 500); 1 Sep 2013 11:12:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 31963 invoked by uid 500); 1 Sep 2013 11:12:53 -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 31955 invoked by uid 500); 1 Sep 2013 11:12:53 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 31950 invoked by uid 99); 1 Sep 2013 11:12:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Sep 2013 11:12:52 +0000 Date: Sun, 1 Sep 2013 11:12:51 +0000 (UTC) From: "Sailaja Mada (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-2375) Difference with listVirtualMachince response (VMware vs Xenserver) 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-2375?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-2375: ------------------------------------- Fix Version/s: 4.2.0 =20 > Difference with listVirtualMachince response (VMware vs Xenserver) > ------------------------------------------------------------------- > > Key: CLOUDSTACK-2375 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-237= 5 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: API > Affects Versions: 4.2.0 > Reporter: Sailaja Mada > Assignee: Sailaja Mada > Fix For: 4.2.0 > > Attachments: UI_VM_Stats.png, vmware-cloud-backup.dmp, xen-cloud-= backup.dmp > > > Steps : > =20 > Try to compare listVirtualMachince API response with Xen & VMWare server = .=20 > =20 > Observations : > =20 > Xenserver : > =20 > 1.=09When looking for details=3Dstats - With http://localhost08:8080/clie= nt/api?command=3DlistVirtualMachines&details=3Dstats&id=3Dd2cb65e2-f9a7-428= 6-9022-48c7e1f563a6. I get a response which includes NIC details + Stats .= But it does not include cpunumber & cpuspeed > =20 > 2013-05-06 18:14:22,144 INFO [cloud.api.ApiServer] (catalina-exec-10:nul= l) (userId=3D2 accountId=3D2 sessionId=3D60F3952BE82D925AFC945F802B9871EB) = 10.144.6.19 -- GET command=3DlistVirtualMachines&details=3Dstats&id=3Dd2cb6= 5e2-f9a7-4286-9022-48c7e1f563a6&sessionkey=3Dr%2B1hTI2qMW1GbepeBSyXIt9%2F87= s%3D&_=3D1367842110435 200 1d2cb65e2-f9a7-4286-9022-48c7e1f563a6d2cb6= 5e2-f9a7-4286-9022-48c7e1f563a6ccdc1admin14e45b81f-58e1-40b3-8feb-bdfd00e30551ccdc12013-05-06T10:31:28+0530Runningfal= se30cab8cc-1048-4c39-9a3a-cce16717f7e7advzone1Advanced8e9c9ba0-e12d-475b= -949a-00695d947ec2xen13.cloud.com0.0= 1%7111d1f9368-b321-11e2-9f52-ca27ffbee4884789ddc1-3a5c-42e3-8e11-8b60e339ce3706376f41-f0bd-4f49-864= 7-76781830c5e7c255.255.255.= 010.1.1.110.1.1.100vlan://802vlan://802<= traffictype>GuestIsolatedtrue02:00:23:08:00:01XenServeri-4-15-VM > =20 > 2.=09With listVirtualMachinces without details then I get response includ= ing all the details : > =20 > 2013-05-06 18:17:22,811 INFO [cloud.api.ApiServer] (catalina-exec-22:nul= l) (userId=3D2 accountId=3D2 sessionId=3D60F3952BE82D925AFC945F802B9871EB) = 10.144.6.19 -- GET command=3DlistVirtualMachines&id=3Dd2cb65e2-f9a7-4286-90= 22-48c7e1f563a6&sessionkey=3Dr%2B1hTI2qMW1GbepeBSyXIt9%2F87s%3D&_=3D1367842= 110435 200 1d2cb65e2-f9a7-4286-9022-48c7e1f563a6d2cb65e2-f9a7-4286-90= 22-48c7e1f563a6ccdc1admin14e45b81f-58e1= -40b3-8feb-bdfd00e30551ccdc12013-05-06= T10:31:28+0530Runningfalse30cab8cc-1048-4c39-9a3a-cce16717f7e7advzone1Advanced8e9c9ba0-e12d-475b-949a-00695d947e= c2xen13.cloud.com1cfb01ba-b321-11= e2-9f52-ca27ffbee488CentOS 5.6(64-bit) no GUI (X= enServer)CentOS 5.6(64-bit) no GUI (Xen= Server)false416113da-1939-4be7-ae03-50b757d56459Small Instance1= 5005120%7111d1= f9368-b321-11e2-9f52-ca27ffbee4880= ROOT4789ddc1-3a5c-42e3-8e11-8b60e= 339ce3706376f41-f0bd-4f49-8647-76781830c5e7c255.255.255.010.1.1.110.1.1.100vlan://802vlan://802GuestIsolatedtrue02:00:23:08:00= :01XenServeri-4-1= 5-VM > =20 > VMWARE : > =20 > 1.=09When looking for details=3Dstats - With http://localhost08:8080/clie= nt/api?command=3DlistVirtualMachines&details=3Dstats&id=3Dd2cb65e2-f9a7-428= 6-9022-48c7e1f563a6 . . I get a response without NIC details + Stats . But= it does not include cpunumber & cpuspeed > =20 > 2013-05-06 23:48:03,046 INFO [cloud.api.ApiServer] (catalina-exec-9:null= ) (userId=3D2 accountId=3D2 sessionId=3D12D293F2D0F929AA2F43B56C3FC7EF10) 1= 0.144.6.19 -- GET command=3DlistVirtualMachines&details=3Dstats&id=3Db5cbd2= 38-7be9-4afd-8ad4-4b7fe8f9993e&response=3Djson&sessionkey=3DHblN7XwG5GWAkxp= WhMERVD%2Fveb0%3D&_=3D1367844714480 200 { "listvirtualmachinesresponse" : {= "count":1 ,"virtualmachine" : [ {"id":"b5cbd238-7be9-4afd-8ad4-4b7fe8f999= 3e","name":"b5cbd238-7be9-4afd-8ad4-4b7fe8f9993e","account":"admin","domain= id":"98b01dbe-b640-11e2-ba21-0618b0000087","domain":"ROOT","created":"2013-= 05-06T20:12:23+0530","state":"Running","haenable":false,"zoneid":"58e1ce4d-= fb5c-48c4-948f-408c969deae0","zonename":"Z1","zonetype":"Advanced","hostid"= :"faf62939-d75f-4f80-aa30-90f924446f03","hostname":"10.147.40.9","cpuused":= "23%","networkkbsread":0,"networkkbswrite":0,"guestosid":"98c7ab82-b640-11e= 2-ba21-0618b0000087","securitygroup":[],"nic":[],"hypervisor":"VMware","ins= tancename":"i-2-3-VM","tags":[],"affinitygroup":[]} ] } } > =20 > 2.=09With listVirtualMachinces without details then I get response includ= ing all the details : > =20 > 2013-05-06 23:50:38,471 INFO [cloud.api.ApiServer] (catalina-exec-20:nul= l) (userId=3D2 accountId=3D2 sessionId=3D12D293F2D0F929AA2F43B56C3FC7EF10) = 10.144.6.19 -- GET command=3DlistVirtualMachines&id=3Db5cbd238-7be9-4afd-8a= d4-4b7fe8f9993e&sessionkey=3DHblN7XwG5GWAkxpWhMERVD%2Fveb0%3D&_=3D136784202= 4925 200 1b5cbd238-7be9-4afd-8ad4-4b7fe8f9993eb5cbd238-7be9-4afd-8ad4= -4b7fe8f9993eadmin98b01dbe-b640-11e2-ba= 21-0618b0000087ROOT2013-05-06T20:12:23= +0530Runningfalse58e1= ce4d-fb5c-48c4-948f-408c969deae0Z1A= dvancedfaf62939-d75f-4f80-aa30-90f924446f0310.147.40.998b84d18-b640-11e2-ba21-0618b000008= 7CentOS 5.3(64-bit) no GUI (vSphere)CentOS 5.3(64-bit) no GUI (vSphere)false3fcdd3a3-a= aa3-44f5-b304-59837b7118beSmall In= stance150051223%0098c7ab82-b640-11e2-ba21-06= 18b00000870ROOT9c35e29a-dbf7-43af-adf1-a723bc720226= da919ef2-690f-4902-9712-964ef5368c92adminw1255.255.255.010.1.1.110.1.1.112vlan://923vlan://923GuestIsolatedtrue02:00:16:7d:00:01<= /nic>VMwarei-2-3-VM > Attached DB dumps -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira