[ https://issues.apache.org/jira/browse/CLOUDSTACK-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kishan Kavala resolved CLOUDSTACK-3564. --------------------------------------- Resolution: Fixed Already fixed with commit ba4c4400b5095e9c14e986f0cdfe6c7d1fd861a8 > VM deploy cloud engine KVM create snapshot ROOT disk and DATA disk FAIL > ----------------------------------------------------------------------- > > Key: CLOUDSTACK-3564 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3564 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Environment: MS 10.223.195.113 build > CloudPlatform-4.2-212-rhel6.3.tar.gz > host KVM rhel 6.3 build CloudPlatform-4.2-212-rhel6.3.tar.gz > Reporter: angeline shen > Assignee: Kishan Kavala > Priority: Critical > Fix For: 4.2.0 > > Attachments: management-server.log.gz, Screenshot-CloudPlatform™ - > Mozilla Firefox-1.png > > > 1. advance zone. In isolated network deploy VM with data disk. > 2. Create snapshot for ROOT disk fail. > 3. Create snapshot for DATA disk fail > MS Log: > :46:19,950 DEBUG [agent.transport.Request] (Job-Executor-19:job-19 = [ > 60020bc9-6230-4fc5-acda-1920bad67d14 ]) Seq 1-345114806: Sending { Cmd , > MgmtId: 6655051826959, via: 1, Ver: v1 > , Flags: 100011, > [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"/mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/d4c3e547-8842-49cc-87ab-5044bc42bfb1/30d0ceee-02c7-404e-8b9b-1ef017f5ce6a","volume":{"uuid":"c2481801-d4ef-4818-b261-a5237a6e4072","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4cf29860-211c-3a17-88c0-a925805e7b2a","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/angie/primary/kvm631","port":2049}},"name":"ROOT-4","size":147456,"path":"d4c3e547-8842-49cc-87ab-5044bc42bfb1","volumeId":4,"vmName":"i-2-4-VM","accountId":2,"format":"QCOW2","id":4},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4cf29860-211c-3a17-88c0-a925805e7b2a","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/angie/primary/kvm631","port":2049}},"vmName":"i-2-4-VM","name":"z1isolateV3_ROOT-4_20130716204618","hypervisorType":"None","id":1}},"destTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/4","volume":{"uuid":"c2481801-d4ef-4818-b261-a5237a6e4072","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4cf29860-211c-3a17-88c0-a925805e7b2a","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/angie/primary/kvm631","port":2049}},"name":"ROOT-4","size":147456,"path":"d4c3e547-8842-49cc-87ab-5044bc42bfb1","volumeId":4,"vmName":"i-2-4-VM","accountId":2,"format":"QCOW2","id":4},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/angie/secondary/kvm631","_role":"Image"}},"vmName":"i-2-4-VM","name":"z1isolateV3_ROOT-4_20130716204618","hypervisorType":"None","id":1}},"executeInSequence":false,"wait":21600}}] > } > 2013-07-16 13:46:20,845 DEBUG [agent.transport.Request] > (AgentManager-Handler-12:null) Seq 1-345114806: Processing: { Ans: , MgmtId: > 6655051826959, via: 1, Ver: v1, Flags: 10, > [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":" > > \"/mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/d4c3e547-8842-49cc-87ab-5044bc42bfb1\": > Invalid path for Logical VolumeDisk > /mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/d4c3e547-8842-49cc-87ab-5044bc42bfb1 > has no snapshot called 30d0ceee-02c7-404e-8b9b-1ef017f5ce6a.","wait":0}}] } > 2013-07-16 13:46:20,845 DEBUG [agent.transport.Request] > (Job-Executor-19:job-19 = [ 60020bc9-6230-4fc5-acda-1920bad67d14 ]) Seq > 1-345114806: Received: { Ans: , MgmtId: 6655051826959, via: 1, Ver: v1, > Flags: 10, { CopyCmdAnswer } } > 2013-07-16 13:46:20,892 DEBUG [storage.snapshot.SnapshotManagerImpl] > (Job-Executor-19:job-19 = [ 60020bc9-6230-4fc5-acda-1920bad67d14 ]) Failed to > create snapshot > com.cloud.utils.exception.CloudRuntimeException: > "/mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/d4c3e547-8842-49cc-87ab-5044bc42bfb1": > Invalid path for Logical VolumeDisk > /mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/d4c3e547-8842-49cc-87ab-5044bc42bfb1 > has no snapshot called 30d0ceee-02c7-404e-8b9b-1ef017f5ce6a. > 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:978) > 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-16 13:46:20,901 DEBUG [storage.volume.VolumeServiceImpl] > (Job-Executor-19:job-19 = [ 60020bc9-6230-4fc5-acda-1920bad67d14 ]) Take > snapshot: 4 failed: com.cloud.utils.exception.CloudRuntimeException: Failed > to create snapshot > 2013-07-16 13:46:20,925 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-19:job-19 = [ 60020bc9-6230-4fc5-acda-1920bad67d14 ]) Complete > async job-19 = [ 60020bc9-6230-4fc5-acda-1920bad67d14 ], jobStatus: 2, > resultCode: 530, result: Error Code: 530 Error text: Failed to create > snapshot due to an internal error creating snapshot for volume 4 > 2013-07-16 13:48:56,722 DEBUG [storage.motion.AncientDataMotionStrategy] > (Job-Executor-20:job-20 = [ d8a9b487-a3dd-498d-87f0-843cc820e099 ]) copyAsync > inspecting src type SNAPSHOT copyAsync inspec > ting dest type SNAPSHOT > 2013-07-16 13:48:56,759 DEBUG [agent.transport.Request] > (Job-Executor-20:job-20 = [ d8a9b487-a3dd-498d-87f0-843cc820e099 ]) Seq > 1-345114819: Sending { Cmd , MgmtId: 6655051826959, via: 1, Ver: v1 > , Flags: 100011, > [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"/mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/fd604ceb-19a > 8-41b6-9217-285f28edc314/f8c362f1-df86-4e68-9b6e-c78d434c48d0","volume":{"uuid":"4b62be0a-80a4-4a65-8a6b-db7fbfc65584","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.Primar > yDataStoreTO":{"uuid":"4cf29860-211c-3a17-88c0-a925805e7b2a","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/angie/primary/kvm631","port":2049}},"name":"DATA-4", > "size":0,"path":"fd604ceb-19a8-41b6-9217-285f28edc314","volumeId":5,"vmName":"i-2-4-VM","accountId":2,"format":"QCOW2","id":5},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{" > uuid":"4cf29860-211c-3a17-88c0-a925805e7b2a","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/angie/primary/kvm631","port":2049}},"vmName":"i-2-4-VM","name":"z1is > olateV3_DATA-4_20130716204856","hypervisorType":"None","id":2}},"destTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/5","volume":{"uuid":"4b62be0a-80a4-4a65-8a6b-db7f > bfc65584","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4cf29860-211c-3a17-88c0-a925805e7b2a","id":1,"poolType":"NetworkFilesystem","host":"10 > .223.110.232","path":"/export/home/angie/primary/kvm631","port":2049}},"name":"DATA-4","size":0,"path":"fd604ceb-19a8-41b6-9217-285f28edc314","volumeId":5,"vmName":"i-2-4-VM","accountId":2,"format > ":"QCOW2","id":5},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/angie/secondary/kvm631","_role":"Image"}},"vmName":"i-2-4-VM","name":"z1isolateV3_DATA-4_201 > 30716204856","hypervisorType":"None","id":2}},"executeInSequence":false,"wait":21600}}] > } > 2013-07-16 13:48:57,907 DEBUG [agent.transport.Request] > (AgentManager-Handler-7:null) Seq 1-345114819: Processing: { Ans: , MgmtId: > 6655051826959, via: 1, Ver: v1, Flags: 10, [{"org.apache.clouds > tack.storage.command.CopyCmdAnswer":{"result":false,"details":" > \"/mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/fd604ceb-19a8-41b6-9217-285f28edc314\": > Invalid path for Logical VolumeDisk /mnt/4cf298 > 60-211c-3a17-88c0-a925805e7b2a/fd604ceb-19a8-41b6-9217-285f28edc314 has no > snapshot called f8c362f1-df86-4e68-9b6e-c78d434c48d0.","wait":0}}] } > 2013-07-16 13:48:57,908 DEBUG [agent.transport.Request] > (Job-Executor-20:job-20 = [ d8a9b487-a3dd-498d-87f0-843cc820e099 ]) Seq > 1-345114819: Received: { Ans: , MgmtId: 6655051826959, via: 1, Ver: > v1, Flags: 10, { CopyCmdAnswer } } > 2013-07-16 13:48:57,925 DEBUG [storage.snapshot.SnapshotManagerImpl] > (Job-Executor-20:job-20 = [ d8a9b487-a3dd-498d-87f0-843cc820e099 ]) Failed to > create snapshot > com.cloud.utils.exception.CloudRuntimeException: > "/mnt/4cf29860-211c-3a17-88c0-a925805e7b2a/fd604ceb-19a8-41b6-9217-285f28edc314": > Invalid path for Logical VolumeDisk /mnt/4cf29860-211c-3a17-88c > 0-a925805e7b2a/fd604ceb-19a8-41b6-9217-285f28edc314 has no snapshot called > f8c362f1-df86-4e68-9b6e-c78d434c48d0. > 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:978) > 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-16 13:48:57,931 DEBUG [storage.volume.VolumeServiceImpl] > (Job-Executor-20:job-20 = [ d8a9b487-a3dd-498d-87f0-843cc820e099 ]) Take > snapshot: 5 failed: com.cloud.utils.exception.CloudRuntime > Exception: Failed to create snapshot -- 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