You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Min Chen (JIRA)" <ji...@apache.org> on 2014/02/04 01:27:08 UTC

[jira] [Assigned] (CLOUDSTACK-6019) CreateVolume from snapshot in NFS is throwing Warning "sync snapshot from cache to region wide store failed for image store test"

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

Min Chen reassigned CLOUDSTACK-6019:
------------------------------------

    Assignee: Min Chen

> CreateVolume from snapshot in NFS is throwing Warning "sync snapshot from cache to region wide store failed for image store test" 
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6019
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6019
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller
>    Affects Versions: 4.3.0
>            Reporter: Min Chen
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> Steps:
> 1. Create a snapshot with NFS data store.
> 2. Migrate NFS to S3.
> 3. Now create volume from snapshot.
> Observation:
> Volume is getting created successfully but with Warning message in MSlogs :
> 2014-01-30 20:48:19,282 WARN [o.a.c.e.o.VolumeOrchestrator] (Job-Executor-59:ctx-1286a1b9 ctx-3fa46178) sync snapshot from cache to region wide store failed for image store test
> com.cloud.utils.exception.CloudRuntimeException: sync snapshot from cache to region wide store failed for image store test
> at org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.syncSnapshotToRegionStore(SnapshotServiceImpl.java:490)
> at org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.syncVolumeSnapshotsToRegionStore(SnapshotServiceImpl.java:458)
> at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeFromSnapshot(VolumeOrchestrator.java:363)
> at com.cloud.storage.VolumeApiServiceImpl.createVolumeFromSnapshot(VolumeApiServiceImpl.java:785)
> at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:735)
> at com.cloud.storage.VolumeApiServiceImpl.createVolume(VolumeApiServiceImpl.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy196.createVolume(Unknown Source)
> at org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd.execute(CreateVolumeCmd.java:196)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
> at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
> at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> 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)
> 2014-01-30 20:48:19,350 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (Job-Executor-59:ctx-1286a1b9 ctx-3fa46178) copyAsync inspecting src type SNAPSHOT copyAsync inspecting dest type VOLUME
> 2014-01-30 20:48:19,365 DEBUG [o.a.c.s.c.m.StorageCacheManagerImpl] (Job-Executor-59:ctx-1286a1b9 ctx-3fa46178) there is already one in the cache store
> 2014-01-30 20:48:19,415 DEBUG [c.c.a.t.Request] (Job-Executor-59:ctx-1286a1b9 ctx-3fa46178) Seq 3-1240727801: Sending { Cmd , MgmtId: 6758231703598, via: 3(s-2-VM), Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/3/bd690977-40e8-4d53-9405-dc7276dcb331/bd690977-40e8-4d53-9405-dc7276dcb331","volume":{"uuid":"22e7c627-2bc8-485b-b2ae-0758a5b395a3","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"f672eae0-b400-3767-808f-b787a5c04d5f","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/manasa/primaryVMw","port":2049,"url":"NetworkFilesystem://10.147.28.7//export/home/manasa/primaryVMw/?ROLE=Primary&STOREUUID=f672eae0-b400-3767-808f-b787a5c04d5f"}},"name":"ROOT-3","size":2147483648,"path":"ROOT-3","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"chainInfo":"
> {\"diskDeviceBusName\":\"ide0:1\",\"diskChain\":[\"[f672eae0b4003767808fb787a5c04d5f] i-2-3-VM/ROOT-3.vmdk\"]}
> ","format":"OVA","id":3,"deviceId":0,"hypervisorType":"VMware"},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/manasa/secondaryVMw","_role":"ImageCache"}},"vmName":"i-2-3-VM","name":"vm1_ROOT-3_20140130123545","hypervisorType":"VMware","id":3,"quiescevm":false,"physicalSize":0}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"f5fe009a-a121-4e2a-b8c8-61f581b0baa4","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"f672eae0-b400-3767-808f-b787a5c04d5f","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/manasa/primaryVMw","port":2049,"url":"NetworkFilesystem://10.147.28.7//export/home/manasa/primaryVMw/?ROLE=Primary&STOREUUID=f672eae0-b400-3767-808f-b787a5c04d5f"}},"name":"volsnap3","size":2147483648,"volumeId":10,"accountId":2,"format":"OVA","id":10,"hypervisorType":"VMware"}},"executeInSequence":false,"options":{},"wait":10800}}] }
> 2014-01-30 20:48:20,404 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-3e6d29bf) ===START=== 10.252.192.33 – GET command=queryAsyncJobResult&jobId=6861e4a2-0d76-4364-806d-dd6361c46ecb&response=json&sessionkey=rDDEoOWDOz2L0UuxEKu%2Bl4jDYb8%3D&_=1391075761195



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)