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 36BD910B1C for ; Fri, 12 Jul 2013 11:05:51 +0000 (UTC) Received: (qmail 75986 invoked by uid 500); 12 Jul 2013 11:05:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 75978 invoked by uid 500); 12 Jul 2013 11:05:50 -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 75960 invoked by uid 500); 12 Jul 2013 11:05:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 75956 invoked by uid 99); 12 Jul 2013 11:05:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 11:05:48 +0000 Date: Fri, 12 Jul 2013 11:05:48 +0000 (UTC) From: "Abhinav Roy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-2630) Object_Store_Refactor - Snapshots - There is no delta snapshots being created for subsequent snapshots when multiple snapshots are taken for root /data volumes. 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-2630?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13706859#comment-13706859 ]=20 Abhinav Roy commented on CLOUDSTACK-2630: ----------------------------------------- The issue is being seen even now with the latest 4.2 build =20 > Object_Store_Refactor - Snapshots - There is no delta snapshots being cre= ated for subsequent snapshots when multiple snapshots are taken for root /= data volumes. > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------- > > Key: CLOUDSTACK-2630 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-263= 0 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.2.0 > Environment: Build from object store > Reporter: Sangeetha Hariharan > Assignee: edison su > Priority: Blocker > Fix For: 4.2.0 > > > Object_Store_Refactor - Snapshots - There is no delta syncs being created= for subsequent snapshots when multiple snapshots are taken for root /data= volumes > Steps to reproduce the problem: > Deploy a Vm with root and data disk. > Take 1 snapshot of root volume. > Do some changes to the root volume like create files. > Take another snapshot of root volume. > Notice that the 2nd snapshot taken is not a delta snapshot. > [root@nfs2 3]# ls -ltr > total 2607572 > -rw-r--r-- 1 root root 1863848448 May 22 15:28 aecfd50d-c5f7-4270-96af-cc= ef8d040854.vhd > -rw-r--r-- 1 root root 1865949696 May 22 15:33 d9d89b01-a82c-41b0-a440-3b= b807beac6e.vhd > [root@nfs2 3]# > Take 1 snapshot of data volume. > Do some changes to the data volume like create files. > Take another snapshot of data volume. > Notice that the 2nd snapshot taken is not a delta snapshot. > [root@nfs2 8]# ls -ltr > total 13052 > -rw-r--r-- 1 root root 153403904 May 22 13:53 15f1706f-7a2a-45ba-96bc-d0d= c520909f3.vhd > -rw-r--r-- 1 root root 153403904 May 22 13:54 9047547a-a131-431a-b3f0-de1= a3acb5117.vhd > -rw-r--r-- 1 root root 153403904 May 22 15:47 6077e984-f7e3-4981-919d-25b= 0381fb563.vhd > management server logs: > 2013-05-22 14:46:17,881 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina= -exec-21:null) submit async job-30, details: AsyncJobVO {id:30, userId: 2, = accountId: 2, sessionKey: null, instanceType: Snapshot, instanceId: 7, cmd:= org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdOrig= inator: null, cmdInfo: {"id":"7","response":"json","sessionkey":"5LuVTJbq8L= 9whPX/rBchZgFpeGs\u003d","ctxUserId":"2","httpmethod":"GET","_":"1369262605= 452","volumeid":"127eb892-e435-4a13-a29a-5b9d3185face","ctxAccountId":"2","= ctxStartEventId":"95"}, cmdVersion: 0, callbackType: 0, callbackAddress: nu= ll, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 206= 915885079359, completeMsid: null, lastUpdated: null, lastPolled: null, crea= ted: null} > 2013-05-22 14:46:17,883 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-7:job-30) Executing org.apache.cloudstack.api.command.user.snapshot.Cr= eateSnapshotCmd for job-30 > 2013-05-22 14:46:17,915 INFO [user.snapshot.CreateSnapshotCmd] (Job-Exec= utor-7:job-30) VOLSS: createSnapshotCmd starts:1369259177915 > 2013-05-22 14:46:17,976 DEBUG [agent.transport.Request] (Job-Executor-7:j= ob-30) Seq 1-375915079: Sending { Cmd , MgmtId: 206915885079359, via: 1, V= er: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjec= tCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"vo= lume":{"uuid":"127eb892-e435-4a13-a29a-5b9d3185face","volumeType":"DATADISK= ","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid= ":"dbf7203e-d359-3179-a464-9900e126cdb0","id":3,"poolType":"NetworkFilesyst= em","host":"10.223.110.232","path":"/export/home/sangeetha/campo-systemp-1/= primary2","port":2049}},"name":"DATA-8","size":5368709120,"path":"4cfaf81f-= e11b-42ae-a290-65e2e36fb099","volumeId":8,"vmName":"i-2-8-VM","accountId":2= ,"id":8},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO"= :{"uuid":"dbf7203e-d359-3179-a464-9900e126cdb0","id":3,"poolType":"NetworkF= ilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-sys= temp-1/primary2","port":2049}},"vmName":"i-2-8-VM","name":"data-123_DATA-8_= 20130522214617","hypervisorType":"XenServer","id":7}},"wait":0}}] } > 2013-05-22 14:46:17,976 DEBUG [agent.transport.Request] (Job-Executor-7:j= ob-30) Seq 1-375915079: Executing: { Cmd , MgmtId: 206915885079359, via: 1= , Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateOb= jectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{= "volume":{"uuid":"127eb892-e435-4a13-a29a-5b9d3185face","volumeType":"DATAD= ISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"u= uid":"dbf7203e-d359-3179-a464-9900e126cdb0","id":3,"poolType":"NetworkFiles= ystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-systemp= -1/primary2","port":2049}},"name":"DATA-8","size":5368709120,"path":"4cfaf8= 1f-e11b-42ae-a290-65e2e36fb099","volumeId":8,"vmName":"i-2-8-VM","accountId= ":2,"id":8},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStore= TO":{"uuid":"dbf7203e-d359-3179-a464-9900e126cdb0","id":3,"poolType":"Netwo= rkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-= systemp-1/primary2","port":2049}},"vmName":"i-2-8-VM","name":"data-123_DATA= -8_20130522214617","hypervisorType":"XenServer","id":7}},"wait":0}}] } > 2013-05-22 14:46:19,526 DEBUG [agent.transport.Request] (Job-Executor-7:j= ob-30) Seq 1-375915079: Received: { Ans: , MgmtId: 206915885079359, via: 1= , Ver: v1, Flags: 10, { CreateObjectAnswer } } > 2013-05-22 14:46:19,628 DEBUG [agent.transport.Request] (Job-Executor-7:j= ob-30) Seq 1-375915080: Sending { Cmd , MgmtId: 206915885079359, via: 1, V= er: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand= ":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"3c= eb618a-5bce-4076-a7c6-aff08af8bb6e","volume":{"uuid":"127eb892-e435-4a13-a2= 9a-5b9d3185face","volumeType":"DATADISK","dataStore":{"org.apache.cloudstac= k.storage.to.PrimaryDataStoreTO":{"uuid":"dbf7203e-d359-3179-a464-9900e126c= db0","id":3,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"= /export/home/sangeetha/campo-systemp-1/primary2","port":2049}},"name":"DATA= -8","size":5368709120,"path":"4cfaf81f-e11b-42ae-a290-65e2e36fb099","volume= Id":8,"vmName":"i-2-8-VM","accountId":2,"id":8},"dataStore":{"org.apache.cl= oudstack.storage.to.PrimaryDataStoreTO":{"uuid":"dbf7203e-d359-3179-a464-99= 00e126cdb0","id":3,"poolType":"NetworkFilesystem","host":"10.223.110.232","= path":"/export/home/sangeetha/campo-systemp-1/primary2","port":2049}},"vmNa= me":"i-2-8-VM","name":"data-123_DATA-8_20130522214617","hypervisorType":"Xe= nServer","id":7}},"destTO":{"org.apache.cloudstack.storage.to.SnapshotObjec= tTO":{"path":"snapshots/2/8","volume":{"uuid":"127eb892-e435-4a13-a29a-5b9d= 3185face","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.stora= ge.to.PrimaryDataStoreTO":{"uuid":"dbf7203e-d359-3179-a464-9900e126cdb0","i= d":3,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export= /home/sangeetha/campo-systemp-1/primary2","port":2049}},"name":"DATA-8","si= ze":5368709120,"path":"4cfaf81f-e11b-42ae-a290-65e2e36fb099","volumeId":8,"= vmName":"i-2-8-VM","accountId":2,"id":8},"dataStore":{"com.cloud.agent.api.= to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/campo-systemp= -1/secondary","_role":"Image"}},"vmName":"i-2-8-VM","name":"data-123_DATA-8= _20130522214617","hypervisorType":"XenServer","id":7}},"wait":21600}}] } > 2013-05-22 14:46:19,629 DEBUG [agent.transport.Request] (Job-Executor-7:j= ob-30) Seq 1-375915080: Executing: { Cmd , MgmtId: 206915885079359, via: 1= , Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyComm= and":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":= "3ceb618a-5bce-4076-a7c6-aff08af8bb6e","volume":{"uuid":"127eb892-e435-4a13= -a29a-5b9d3185face","volumeType":"DATADISK","dataStore":{"org.apache.clouds= tack.storage.to.PrimaryDataStoreTO":{"uuid":"dbf7203e-d359-3179-a464-9900e1= 26cdb0","id":3,"poolType":"NetworkFilesystem","host":"10.223.110.232","path= ":"/export/home/sangeetha/campo-systemp-1/primary2","port":2049}},"name":"D= ATA-8","size":5368709120,"path":"4cfaf81f-e11b-42ae-a290-65e2e36fb099","vol= umeId":8,"vmName":"i-2-8-VM","accountId":2,"id":8},"dataStore":{"org.apache= .cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"dbf7203e-d359-3179-a464= -9900e126cdb0","id":3,"poolType":"NetworkFilesystem","host":"10.223.110.232= ","path":"/export/home/sangeetha/campo-systemp-1/primary2","port":2049}},"v= mName":"i-2-8-VM","name":"data-123_DATA-8_20130522214617","hypervisorType":= "XenServer","id":7}},"destTO":{"org.apache.cloudstack.storage.to.SnapshotOb= jectTO":{"path":"snapshots/2/8","volume":{"uuid":"127eb892-e435-4a13-a29a-5= b9d3185face","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.st= orage.to.PrimaryDataStoreTO":{"uuid":"dbf7203e-d359-3179-a464-9900e126cdb0"= ,"id":3,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/exp= ort/home/sangeetha/campo-systemp-1/primary2","port":2049}},"name":"DATA-8",= "size":5368709120,"path":"4cfaf81f-e11b-42ae-a290-65e2e36fb099","volumeId":= 8,"vmName":"i-2-8-VM","accountId":2,"id":8},"dataStore":{"com.cloud.agent.a= pi.to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/campo-syst= emp-1/secondary","_role":"Image"}},"vmName":"i-2-8-VM","name":"data-123_DAT= A-8_20130522214617","hypervisorType":"XenServer","id":7}},"wait":21600}}] } > 2013-05-22 14:46:47,906 DEBUG [agent.transport.Request] (Job-Executor-7:j= ob-30) Seq 1-375915080: Received: { Ans: , MgmtId: 206915885079359, via: 1= , Ver: v1, Flags: 110, { CopyCmdAnswer } } > 2013-05-22 14:46:47,969 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-7:job-30) Complete async job-30, jobStatus: 1, resultCode: 0, result: = org.apache.cloudstack.api.response.SnapshotResponse@3cc2f15 > 2013-05-22 14:46:47,980 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-7:job-30) Done executing org.apache.cloudstack.api.command.user.snapsh= ot.CreateSnapshotCmd for job-30 > 2013-05-22 14:46:48,382 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina= -exec-3:null) Async job-30 completed -- 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