Rayees Namathponnan created CLOUDSTACK-4357:
-----------------------------------------------
Summary: [Automation] Failed to create snapshot in vmware, failed
with SOAP Exception
Key: CLOUDSTACK-4357
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4357
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Snapshot, VMware
Affects Versions: 4.2.0
Environment: 4.2 build
Automation setup in vmware
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Create snapshot from volume in vmware, snapshot creation failed with below
error
result":true,"wait":0}}] }
2013-08-15 11:28:36,021 DEBUG [agent.transport.Request]
(Job-Executor-132:job-2140 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Seq
3-1674384702: Received: { Ans: , MgmtId: 90
928106758026, via: 3, Ver: v1, Flags: 10, {
CreateObjectAnswer } }
2013-08-15 11:28:36,116 DEBUG [storage.motion.AncientDataMotionStrategy]
(Job-Executor-132:job-2140 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ])
copyAsync 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 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Seq
9-1658651749: Sending { Cmd , MgmtId: 90928
106758026, via: 9, Ver: v1, Flags: 100011,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"7e5f482
3-9341-4d82-84a2-885f690523a3","volume":{"uuid":"a3cb5568-9e7d-432b-b2b9-b7947fc34f2d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{
"uuid":"16c8ee2e-3f26-3062-8878-b7d6c53c5797","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/automation/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":642,"hypervisorType":"VMware"},"dataStore":
{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"16c8ee2e-3f26-3062-8878-b7d6c53c5797","id":2,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/ex
port/home/automation/SC-CLOUD-QA03/primary2","port":2049}},"vmName":"i-2-585-TestVM","name":"ryzVM_ROOT-585_20130815182835","hypervisorType":"VMware","id":21}},"destTO":{"org.
apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/642","volume":{"uuid":"a3cb5568-9e7d-432b-b2b9-b7947fc34f2d","volumeType":"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":"VMware"},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232:/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-Handler-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 of type ObjectSpec\n\nwhile parsing
serialized DataObject of type vmodl.query.PropertyCollector.ObjectSpec\nat line
1, column 3
05\n\nwhile parsing property \"objectSet\" of static type
ArrayOfObjectSpec\n\nwhile parsing serialized DataObject of type
vmodl.query.PropertyCollector.FilterSpec\nat line 1,
column 205\n\nwhile parsing 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 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Seq
9-1658651749: Received: { 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 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Failed
to create snapshot
com.cloud.utils.exception.CloudRuntimeException: backup snapshot exception:
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.backupSnapshot(SnapshotServiceImpl.java:289)
at
org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.backupSnapshot(XenserverSnapshotStrategy.java:137)
at
org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.takeSnapshot(XenserverSnapshotStrategy.java:256)
at
com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(SnapshotManagerImpl.java:1004)
at
org.apache.cloudstack.storage.volume.VolumeServiceImpl.takeSnapshot(VolumeServiceImpl.java:1256)
at
com.cloud.storage.VolumeManagerImpl.takeSnapshot(VolumeManagerImpl.java:2703)
at
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd.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(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
2013-08-15 11:28:36,497 DEBUG [storage.volume.VolumeServiceImpl]
(Job-Executor-132:job-2140 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Take
snapshot: 642 failed: com.cloud.ut
ils.exception.CloudRuntimeException: Failed to create snapshot
2013-08-15 11:28:36,502 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-132:job-2140 = [ 5e9e1e44-ab33-4b64-bd3b-5b6ab4e69389 ]) Complete
async job-2140 = [ 5e9e1e44-ab3
3-4b64-bd3b-5b6ab4e69389 ], jobStatus: 2, resultCode: 530, result:
Error Code: 530 Error text: Failed to create snapshot due to an internal error
creating snapshot for volume
642
2013-08-15 11:28:37,112 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null)
===START=== 10.223.240.195 -- GET
signature=UEcXsGqDjlHDWKZo%2FGKlz%2F6pHoY%3D&apiKey=HT6afEipxh
IsvPB-kqcrVxmMjNFze1HL2xaG0FX-eTigbuTTnL03DW8DdXi1MTaGBGzE5TKdy5l-sKooRFzdNg&command=queryAsyncJobResult&response=json&jobid=168c69bc-6a0c-43be-90f4-d25a3185eb29
2013-08-15 11:28:37,126 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null)
===END=== 10.223.240.195 -- GET
signature=UEcXsGqDjlHDWKZo%2FGKlz%2F6pHoY%3D&apiKey=HT6afEipxhIs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira