cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manasaveloori (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3587) [VMware]Snapshot of root volume is failing.
Date Wed, 17 Jul 2013 11:42:49 GMT
manasaveloori created CLOUDSTACK-3587:
-----------------------------------------

             Summary: [VMware]Snapshot of root volume is failing.
                 Key: CLOUDSTACK-3587
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3587
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Snapshot
    Affects Versions: 4.2.0
         Environment: 4.2 latest build
            Reporter: manasaveloori
            Priority: Blocker
             Fix For: 4.2.0


Steps:
1.	Have a CS with advanced zone with VMware hypervisor.
2.	Create an instance.
3.	Take a snapshot of root volume.(primary-shared/local for both observing the issue)

Observing the following exception:

2013-07-17 22:14:32,762 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START===  10.252.192.69
-- GET  command=queryAsyncJobResult&jobId=fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d&response=json&sessionkey=XviGs1hyy7n5S%2FwcvyI%2FZSWkDdw%3D&_=1374059959262
2013-07-17 22:14:32,799 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END===  10.252.192.69
-- GET  command=queryAsyncJobResult&jobId=fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d&response=json&sessionkey=XviGs1hyy7n5S%2FwcvyI%2FZSWkDdw%3D&_=1374059959262

2013-07-17 22:14:35,008 DEBUG [agent.transport.Request] (AgentManager-Handler-11:null) Seq
3-1493696659: Processing:  { Ans: , MgmtId: 7562229448750, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"BackupSnapshotCommand
exception: java.lang.RuntimeException: A specified parameter was not correct. \nconfig.name\ncom.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:290)\ncom.cloud.hypervisor.vmware.mo.HostMO.createVm(HostMO.java:525)\ncom.cloud.hypervisor.vmware.mo.HypervisorHostHelper.createBlankVm(HypervisorHostHelper.java:1159)\ncom.cloud.hypervisor.vmware.mo.HostMO.createBlankVm(HostMO.java:700)\ncom.cloud.hypervisor.vmware.mo.VirtualMachineMO.cloneFromDiskChain(VirtualMachineMO.java:1571)\ncom.cloud.hypervisor.vmware.mo.VirtualMachineMO.cloneFromCurrentSnapshot(VirtualMachineMO.java:1560)\ncom.cloud.storage.resource.VmwareStorageProcessor.exportVolumeToSecondaryStroage(VmwareStorageProcessor.java:627)\ncom.cloud.storage.resource.VmwareStorageProcessor.backupSnapshotToSecondaryStorage(VmwareStorageProcessor.java:651)\ncom.cloud.storage.resource.VmwareStorageProcessor.backupSnapshot(VmwareStorageProcessor.java:724)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:84)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)\ncom.cloud.agent.Agent.processRequest(Agent.java:525)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\njava.lang.Thread.run(Thread.java:679)\n","wait":0}}]
}
2013-07-17 22:14:35,009 DEBUG [agent.transport.Request] (Job-Executor-39:job-39 = [ fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d
]) Seq 3-1493696659: Received:  { Ans: , MgmtId: 7562229448750, via: 3, Ver: v1, Flags: 10,
{ CopyCmdAnswer } }
2013-07-17 22:14:35,045 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job-Executor-39:job-39
= [ fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d ]) Failed to create snapshot
com.cloud.utils.exception.CloudRuntimeException: BackupSnapshotCommand exception: java.lang.RuntimeException:
A specified parameter was not correct.
config.name
com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:290)
com.cloud.hypervisor.vmware.mo.HostMO.createVm(HostMO.java:525)
com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.createBlankVm(HypervisorHostHelper.java:1159)
com.cloud.hypervisor.vmware.mo.HostMO.createBlankVm(HostMO.java:700)
com.cloud.hypervisor.vmware.mo.VirtualMachineMO.cloneFromDiskChain(VirtualMachineMO.java:1571)
com.cloud.hypervisor.vmware.mo.VirtualMachineMO.cloneFromCurrentSnapshot(VirtualMachineMO.java:1560)
com.cloud.storage.resource.VmwareStorageProcessor.exportVolumeToSecondaryStroage(VmwareStorageProcessor.java:627)
com.cloud.storage.resource.VmwareStorageProcessor.backupSnapshotToSecondaryStorage(VmwareStorageProcessor.java:651)
com.cloud.storage.resource.VmwareStorageProcessor.backupSnapshot(VmwareStorageProcessor.java:724)
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:84)
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
com.cloud.agent.Agent.processRequest(Agent.java:525)
com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
com.cloud.utils.nio.Task.run(Task.java:83)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:679)

        at org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSnapshot(SnapshotServiceImpl.java:282)
        at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.backupSnapshot(XenserverSnapshotStrategy.java:127)
        at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.takeSnapshot(XenserverSnapshotStrategy.java:197)
        at com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(SnapshotManagerImpl.java:986)
        at org.apache.cloudstack.storage.volume.VolumeServiceImpl.takeSnapshot(VolumeServiceImpl.java:1171)
        at com.cloud.storage.VolumeManagerImpl.takeSnapshot(VolumeManagerImpl.java:2664)
        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:679)
2013-07-17 22:14:35,058 DEBUG [storage.volume.VolumeServiceImpl] (Job-Executor-39:job-39 =
[ fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d ]) Take snapshot: 14 failed: com.cloud.utils.exception.CloudRuntimeException:
Failed to create snapshot
2013-07-17 22:14:35,073 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-39:job-39 =
[ fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d ]) Complete async job-39 = [ fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to create snapshot
due to an internal error creating snapshot for volume 14
2013-07-17 22:14:35,793 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===START=== 
10.252.192.69 -- GET  command=queryAsyncJobResult&jobId=fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d&response=json&sessionkey=XviGs1hyy7n5S%2FwcvyI%2FZSWkDdw%3D&_=1374059962293
2013-07-17 22:14:35,816 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async
job-39 = [ fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d ] completed
2013-07-17 22:14:35,825 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===END===  10.252.192.69
-- GET  command=queryAsyncJobResult&jobId=fe566a5e-e9fe-4dca-8c97-32c11f9f1e5d&response=json&sessionkey=XviGs1hyy7n5S%2FwcvyI%2FZSWkDdw%3D&_=1374059962293

MS logs attached

--
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

Mime
View raw message