cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6025) CreateTemplate from snapshot in NFS is failing , after migarting to S3 datastore
Date Tue, 04 Feb 2014 19:12:09 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891039#comment-13891039
] 

ASF subversion and git services commented on CLOUDSTACK-6025:
-------------------------------------------------------------

Commit 9b21da65d10757db29fa0ba779f424bd15c400df in branch refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9b21da6 ]

CLOUDSTACK-6025:CreateTemplate from snapshot in NFS is failing , after
migarting to S3 datastore.



> CreateTemplate from snapshot in NFS is failing , after migarting to S3 datastore
> --------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6025
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6025
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller, VMware
>    Affects Versions: 4.3.0
>            Reporter: Min Chen
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> Steps:
> On a vmware setup.
> 1. Create a snapshot with NFS data store.
> 2. Migrate NFS to S3.
> 3. now create template from the snapshot .This action should push the old NFS snapshot
to S3.
> Observation:
> Template creation from snapshot is failing :
> 2014-01-30 21:03:25,122 DEBUG [c.c.t.TemplateManagerImpl] (Job-Executor-67:ctx-b6346601
ctx-b064890b) Failed to create templateCan't find src file:/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/204/2942358b5-8507-3089-8471-c25f8bbb3027/39f673af-09b6-44e8-a614-c812b76bc428.ova
> 2014-01-30 21:03:25,182 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-67:ctx-b6346601)
Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create templateCan't find
src file:/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/204/2942358b5-8507-3089-8471-c25f8bbb3027/39f673af-09b6-44e8-a614-c812b76bc428.ova
> at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1405)
> 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 $Proxy158.createPrivateTemplate(Unknown Source)
> at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:265)
> 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 21:03:25,187 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-67:ctx-b6346601)
Complete async job-57, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/
> {"uuidList":[],"errorcode":530,"errortext":"Failed to create templateCan\u0027t find
src file:/mnt/SecStorage/0e8da06e-0788-3efb-86a6-b0705a2205d3/template/tmpl/2/204/2942358b5-8507-3089-8471-c25f8bbb3027/39f673af-09b6-44e8-a614-c812b76bc428.ova"}
> 2014-01-30 21:03:25,200 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-67:ctx-b6346601)
Done executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-57



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

Mime
View raw message