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 1462910118 for ; Tue, 30 Jul 2013 23:29:49 +0000 (UTC) Received: (qmail 74192 invoked by uid 500); 30 Jul 2013 23:29:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 74177 invoked by uid 500); 30 Jul 2013 23:29:48 -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 74169 invoked by uid 500); 30 Jul 2013 23:29:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 74166 invoked by uid 99); 30 Jul 2013 23:29:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 23:29:48 +0000 Date: Tue, 30 Jul 2013 23:29:48 +0000 (UTC) From: "Prachi Damle (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-3962) VMWare: CopyCommandAnswer reports back the Root disk size to be zero 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-3962?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prachi Damle updated CLOUDSTACK-3962: ------------------------------------- Priority: Critical (was: Major) =20 > VMWare: CopyCommandAnswer reports back the Root disk size to be zero > -------------------------------------------------------------------- > > Key: CLOUDSTACK-3962 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-396= 2 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Storage Controller > Affects Versions: 4.2.0 > Reporter: Prachi Damle > Assignee: edison su > Priority: Critical > Fix For: 4.2.0 > > > This issue is found from analysis of this ticket: https://issues.apache.o= rg/jira/browse/CLOUDSTACK-3934 > For VmWare, volume creation during VM deployment is reporting back the v= olume size to be zero. > This gets saved in the management database causing usage discrepancy. > The VmWareStorageProcessor should report the correct size. > Log showing the Root disk size is 2 GB before sending the CopyCmd: > 2013-07-30 13:48:47,833 DEBUG [agent.transport.Request] (Job-Executor-1:j= ob-130 =3D [ a5582d10-83ae-4797-8fd0-c5ffc10a54ab ]) Seq 1-126746642: Execu= ting: { Cmd , MgmtId: 187767034175903, via: 1, Ver: v1, Flags: 100011, [{"o= rg.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.clo= udstack.storage.to.TemplateObjectTO":{"path":"7fcc24af33fc369192b33ecde204b= e31","origUrl":"http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.o= va","uuid":"69f75dca-f808-11e2-9ae5-aac5eb5f619f","id":7,"format":"OVA","ac= countId":1,"checksum":"f6f881b7f2292948d8494db837fe0f47","hvm":false,"displ= ayText":"CentOS 5.3(64-bit) no GUI (vSphere)","imageDataStore":{"org.apache= .cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"3ecae8a1-c59a-33ee-b22b= -6bd5758f10e8","id":1,"poolType":"NetworkFilesystem","host":"10.102.192.100= ","path":"/cpg_vol/sailaja/dvsps1","port":2049}},"name":"centos53-x64","hyp= ervisorType":"VMware"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeO= bjectTO":{"uuid":"1f697d9b-9425-42ef-bfc4-244166f32a9c","volumeType":"ROOT"= ,"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid"= :"3ecae8a1-c59a-33ee-b22b-6bd5758f10e8","id":1,"poolType":"NetworkFilesyste= m","host":"10.102.192.100","path":"/cpg_vol/sailaja/dvsps1","port":2049}},"= name":"ROOT-26","size":2147483648,"volumeId":40,"vmName":"i-7-26-VM","accou= ntId":7,"format":"OVA","id":40,"hypervisorType":"None"}},"executeInSequence= ":false,"wait":0}}] } > Log showing the CopyCmdAnswer reporting back the size of the Root disk to= be zero: > 2013-07-30 13:48:52,484 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-7:null) Seq 1-126746642: Response Received: > 2013-07-30 13:48:52,485 DEBUG [agent.transport.Request] (DirectAgent-7:nu= ll) Seq 1-126746642: Processing: { Ans: , MgmtId: 187767034175903, via: 1, = Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer"= :{"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"size":0,"p= ath":"ROOT-26-40","accountId":0,"id":0}},"result":true,"wait":0}}] } -- 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