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 1928D10861 for ; Thu, 15 Aug 2013 18:56:41 +0000 (UTC) Received: (qmail 97885 invoked by uid 500); 15 Aug 2013 18:51:23 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 97449 invoked by uid 500); 15 Aug 2013 18:51:04 -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 97119 invoked by uid 500); 15 Aug 2013 18:50:54 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 96746 invoked by uid 99); 15 Aug 2013 18:49:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 18:49:49 +0000 Date: Thu, 15 Aug 2013 18:49:49 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4357) [Automation] Failed to create snapshot in vmware, failed with SOAP Exception 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-4357?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-4357: -------------------------------------------- Attachment: CLOUDSTACK-4357.rar =20 > [Automation] Failed to create snapshot in vmware, failed with SOAP Except= ion > -------------------------------------------------------------------------= --- > > Key: CLOUDSTACK-4357 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-435= 7 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Automation, Snapshot, VMware > Affects Versions: 4.2.0 > Environment: 4.2 build > Automation setup in vmware > Reporter: Rayees Namathponnan > Priority: Critical > Fix For: 4.2.0 > > Attachments: CLOUDSTACK-4357.rar > > > Create snapshot from volume in vmware, snapshot creation failed with belo= w error=20 > result":true,"wait":0}}] } > 2013-08-15 11:28:36,021 DEBUG [agent.transport.Request] (Job-Executor-132= :job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Seq 3-1674384702: R= eceived: { Ans: , MgmtId: 90 = 928106758026, via: 3, Ver: v1, Flags: 10, { CreateObjectAns= wer } } > 2013-08-15 11:28:36,116 DEBUG [storage.motion.AncientDataMotionStrategy] = (Job-Executor-132:job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) co= pyAsync inspecting src type S = NAPSHOT copyAsync inspecting dest type SNAPSHOT > 2013-08-15 11:28:36,205 DEBUG [agent.transport.Request] (Job-Executor-132= :job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Seq 9-1658651749: S= ending { Cmd , MgmtId: 90928 = 106758026, via: 9, Ver: v1, Flags: 100011, [{"org.apache.cl= oudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.stor= age.to.SnapshotObjectTO":{"path":"7e5f482 = 3-9341-4d82-84a2-885f690523a3","volume":{"uuid"= :"a3cb5568-9e7d-432b-b2b9-b7947fc34f2d","volumeType":"ROOT","dataStore":{"o= rg.apache.cloudstack.storage.to.PrimaryDataStoreTO":{ = "uuid":"16c8ee2e-3f26-3062-8878-b7d= 6c53c5797","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","p= ath":"/export/home/automation/SC-CLOUD-QA03/primary2","port":2049 = }},"name":"ROOT-585","s= ize":2147483648,"path":"ROOT-585","volumeId":642,"vmName":"i-2-585-TestVM",= "accountId":2,"format":"OVA","id":642,"hypervisorType":"VMware"},"dataStore= ": {"org.apach= e.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"16c8ee2e-3f26-3062-887= 8-b7d6c53c5797","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.23= 2","path":"/ex = port/home/automation/SC-CLOUD-QA03/primary2","port":2049}},"vmName":"i-2-5= 85-TestVM","name":"ryzVM_ROOT-585_20130815182835","hypervisorType":"VMware"= ,"id":21}},"destTO":{"org. = apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapsh= ots/2/642","volume":{"uuid":"a3cb5568-9e7d-432b-b2b9-b7947fc34f2d","volumeT= ype":"ROOT","dataStore":{"org.apache.c = loudstack.storage.to.PrimaryDataStoreTO":{"uuid":"= 16c8ee2e-3f26-3062-8878-b7d6c53c5797","id":2,"poolType":"NetworkFilesystem"= ,"host":"10.223.110.232","path":"/export/home/auto = mation/SC-CLOUD-QA03/primary2","port":= 2049}},"name":"ROOT-585","size":2147483648,"path":"ROOT-585","volumeId":642= ,"vmName":"i-2-585-TestVM","accountId":2,"format":"OVA","id":6 = 42,"hypervisorType":"VMwar= e"},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.2= 32:/export/home/automation/SC-CLOUD-QA03/secondary1","_role":"Image"}},"vm = Name":"i-2-585= -TestVM","name":"ryzVM_ROOT-585_20130815182835","hypervisorType":"VMware","= id":21}},"executeInSequence":false,"wait":21600}}] } > 2013-08-15 11:28:36,459 DEBUG [agent.transport.Request] (AgentManager-Han= dler-6:null) Seq 9-1658651749: Processing: { Ans: , MgmtId: 90928106758026= , via: 9, Ver: v1, Flags: 1 = 0, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"= result":false,"details":"backup snapshot exception: Exception: javax.xml.ws= .soap.SOAPFaultException\nMessage: \nRe = quired property obj is missing from data object o= f type ObjectSpec\n\nwhile parsing serialized DataObject of type vmodl.quer= y.PropertyCollector.ObjectSpec\nat line 1, column 3 = 05\n\nwhile parsing property \"object= Set\" of static type ArrayOfObjectSpec\n\nwhile parsing serialized DataObje= ct of type vmodl.query.PropertyCollector.FilterSpec\nat line 1, = column 205\n\nwhile pars= ing call information for method RetrieveProperties\nat line 1, column 110\n= \nwhile parsing SOAP body\nat line 1, column 102\n\nwhile parsing SOAP enve= lope\nat line= 1, column 38\n\nwhile parsing HTTP request for method retrieveContents\non= object of type vmodl.query.PropertyCollector\nat line 1, column 0\n","wait= ":0}}] } > 2013-08-15 11:28:36,460 DEBUG [agent.transport.Request] (Job-Executor-132= :job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Seq 9-1658651749: R= eceived: { Ans: , MgmtId: 90 = 928106758026, via: 9, Ver: v1, Flags: 10, { CopyCmdAnswer }= } > 2013-08-15 11:28:36,488 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job= -Executor-132:job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Failed= to create snapshot > com.cloud.utils.exception.CloudRuntimeException: backup snapshot exceptio= n: Exception: javax.xml.ws.soap.SOAPFaultException > Message: > Required property obj is missing from data object of type ObjectSpec > while parsing serialized DataObject of type vmodl.query.PropertyCollector= .ObjectSpec > at line 1, column 305 > while parsing property "objectSet" of static type ArrayOfObjectSpec > while parsing serialized DataObject of type vmodl.query.PropertyCollector= .FilterSpec > at line 1, column 205 > while parsing call information for method RetrieveProperties > at line 1, column 110 > while parsing SOAP body > at line 1, column 102 > while parsing SOAP envelope > at line 1, column 38 > while parsing HTTP request for method retrieveContents > on object of type vmodl.query.PropertyCollector > at line 1, column 0 > at org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.bac= kupSnapshot(SnapshotServiceImpl.java:289) > at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrate= gy.backupSnapshot(XenserverSnapshotStrategy.java:137) > at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrate= gy.takeSnapshot(XenserverSnapshotStrategy.java:256) > at com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(Sn= apshotManagerImpl.java:1004) > at org.apache.cloudstack.storage.volume.VolumeServiceImpl.takeSna= pshot(VolumeServiceImpl.java:1256) > at com.cloud.storage.VolumeManagerImpl.takeSnapshot(VolumeManager= Impl.java:2703) > at org.apache.cloudstack.api.command.user.snapshot.CreateSnapshot= Cmd.execute(CreateSnapshotCmd.java:170) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.= java:531) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.= java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:= 334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:722) > 2013-08-15 11:28:36,497 DEBUG [storage.volume.VolumeServiceImpl] (Job-Exe= cutor-132:job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Take snaps= hot: 642 failed: com.cloud.ut = ils.exception.CloudRuntimeException: Failed to create snaps= hot > 2013-08-15 11:28:36,502 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-132:job-2140 =3D [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Complete as= ync job-2140 =3D [ 5e9e1e44-ab3 = 3-4b64-bd3b-5b6ab4e69389 ], jobStatus: 2, resultCode: 530= , result: Error Code: 530 Error text: Failed to create snapshot due to an i= nternal error creating snapshot for volume = 642 > 2013-08-15 11:28:37,112 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:nu= ll) =3D=3D=3DSTART=3D=3D=3D 10.223.240.195 -- GET signature=3DUEcXsGqDjlH= DWKZo%2FGKlz%2F6pHoY%3D&apiKey=3DHT6afEipxh = IsvPB-kqcrVxmMjNFze1HL2xaG0FX-eTigbuTTnL03DW8= DdXi1MTaGBGzE5TKdy5l-sKooRFzdNg&command=3DqueryAsyncJobResult&response=3Djs= on&jobid=3D168c69bc-6a0c-43be-90f4-d25a3185eb29 > 2013-08-15 11:28:37,126 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:nu= ll) =3D=3D=3DEND=3D=3D=3D 10.223.240.195 -- GET signature=3DUEcXsGqDjlHDW= KZo%2FGKlz%2F6pHoY%3D&apiKey=3DHT6afEipxhIs=20 -- 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