cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Animesh Chaturvedi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-2596) Object_Store_Refactor - Not able to create snapshots when there are multiple NFS secondary storages configured.
Date Wed, 07 Aug 2013 18:45:56 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Animesh Chaturvedi updated CLOUDSTACK-2596:
-------------------------------------------


These blockers and critical issues are resolved but not verified. Reporters of these issues
please verify the fixes and help close these issues
                
> Object_Store_Refactor - Not able to create snapshots when there are multiple NFS secondary
storages configured.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2596
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2596
>             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: build from object_store
>            Reporter: Sangeetha Hariharan
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Object_Store_Refactor - Not able to create snapshots when there are multiple NFS secondary
storages configured.
> Steps to reproduce the problem:
> Set up -  Advanced zone with 2 NFS secondary storages configured for the zone.
> Deploy a VM.
> Try to take a snapshot of the root volume.
> It fails with the following exception:
> "Failed to create snapshot due to an internal error creating snapshot for volume 3"
> management server logs:
> 2013-05-20 17:14:46,592 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-21)
Executing org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd for job-21
> 2013-05-20 17:14:46,594 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===
 10.217.252.128 -- GET  command=createSnapshot&volumeid=9b573264-ec55-4fd2-b6fb-757de9d34df2&response=json&sessionkey=F0X0%2FpMKSaJeptCQWg1CMPimCQU%3D&_=1369098712780
> 2013-05-20 17:14:46,626 INFO  [user.snapshot.CreateSnapshotCmd] (Job-Executor-1:job-21)
VOLSS: createSnapshotCmd starts:1369095286626
> 2013-05-20 17:14:46,718 DEBUG [agent.transport.Request] (Job-Executor-1:job-21) Seq 1-1870790761:
Sending  { Cmd , MgmtId: 206915885079359, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"9b573264-ec55-4fd2-b6fb-757de9d34df2","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"e97b5727-d157-3dc1-b32c-065b99806623","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-systemp-1/primary","port":2049}},"name":"ROOT-3","size":21474836480,"path":"3ffb727f-23f5-4813-a023-e29eadb48135","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"id":3},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"e97b5727-d157-3dc1-b32c-065b99806623","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-systemp-1/primary","port":2049}},"vmName":"i-2-3-VM","name":"test123_ROOT-3_20130521001446","hypervisorType":"XenServer","id":1}},"wait":0}}]
}
> 2013-05-20 17:14:46,719 DEBUG [agent.transport.Request] (Job-Executor-1:job-21) Seq 1-1870790761:
Executing:  { Cmd , MgmtId: 206915885079359, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"9b573264-ec55-4fd2-b6fb-757de9d34df2","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"e97b5727-d157-3dc1-b32c-065b99806623","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-systemp-1/primary","port":2049}},"name":"ROOT-3","size":21474836480,"path":"3ffb727f-23f5-4813-a023-e29eadb48135","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"id":3},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"e97b5727-d157-3dc1-b32c-065b99806623","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/sangeetha/campo-systemp-1/primary","port":2049}},"vmName":"i-2-3-VM","name":"test123_ROOT-3_20130521001446","hypervisorType":"XenServer","id":1}},"wait":0}}]
}
> 2013-05-20 17:14:46,719 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-144:null)
Seq 1-1870790761: Executing request
> 2013-05-20 17:14:48,118 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-144:null)
Seq 1-1870790761: Response Received:
> 2013-05-20 17:14:48,119 DEBUG [agent.transport.Request] (DirectAgent-144:null) Seq 1-1870790761:
Processing:  { Ans: , MgmtId: 206915885079359, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CreateObjectAnswer":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"ffa2da67-526a-47d6-ba57-1ea7f04297a5","id":0}},"result":true,"wait":0}}]
}
> 2013-05-20 17:14:48,119 DEBUG [agent.transport.Request] (Job-Executor-1:job-21) Seq 1-1870790761:
Received:  { Ans: , MgmtId: 206915885079359, via: 1, Ver: v1, Flags: 10, { CreateObjectAnswer
} }
> 2013-05-20 17:14:48,203 DEBUG [storage.snapshot.SnapshotManagerImpl] (Job-Executor-1:job-21)
Failed to create snapshot
> com.cloud.utils.exception.CloudRuntimeException: Failed to copy snapshot:com.cloud.utils.exception.CloudRuntimeException:
find out more than one image stores
>         at org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSnapshot(SnapshotServiceImpl.java:303)
>         at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.backupSnapshot(XenserverSnapshotStrategy.java:134)
>         at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.takeSnapshot(XenserverSnapshotStrategy.java:208)
>         at com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(SnapshotManagerImpl.java:1003)
>         at org.apache.cloudstack.storage.volume.VolumeServiceImpl.takeSnapshot(VolumeServiceImpl.java:1031)
>         at com.cloud.storage.VolumeManagerImpl.takeSnapshot(VolumeManagerImpl.java:2601)
>         at org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd.execute(CreateSnapshotCmd.java:170)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         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-05-20 17:14:48,223 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-21)
Complete async job-21, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to create snapshot due to an internal error creating snapshot for volume 3

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