You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chandan Purushothama (JIRA)" <ji...@apache.org> on 2014/04/18 03:52:14 UTC
[jira] [Created] (CLOUDSTACK-6441) [Automation] CopyISO between
zones fails due to HTTP 403 Error
Chandan Purushothama created CLOUDSTACK-6441:
------------------------------------------------
Summary: [Automation] CopyISO between zones fails due to HTTP 403 Error
Key: CLOUDSTACK-6441
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6441
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.4.0
Environment: Basic Zone
XenServer
Reporter: Chandan Purushothama
Priority: Blocker
Fix For: 4.4.0
Attachments: management-server.log.2014-04-16.gz
Use Case:
Copy ISO from One Zone to Another
=============
HTTP 403 Error:
=============
2014-04-16 15:53:14,311 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteHostEndPoint-1:ctx-e1e16348) Performing image store createTemplate async callback
2014-04-16 15:53:14,326 DEBUG [o.a.c.s.i.TemplateServiceImpl] (RemoteHostEndPoint-1:ctx-e1e16348) Performing copy template cross zone callback after completion
2014-04-16 15:53:14,333 DEBUG [c.c.t.TemplateManagerImpl] (API-Job-Executor-25:job-66 ctx-5d907864) copy template failed for image store nfs://nfs1-ccp.citrix.com:/home/common/automation/SC_QA_AUTO7/secondary3: HTTP Server returned 403 (expected 200 OK)
2014-04-16 15:53:14,343 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-25:job-66) Unexpected exception while executing org.apache.cloudstack.api.command.admin.iso.CopyIsoCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Failed to copy template
at com.cloud.template.TemplateManagerImpl.copyTemplate(TemplateManagerImpl.java:737)
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:606)
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 org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
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 com.sun.proxy.$Proxy171.copyTemplate(Unknown Source)
at org.apache.cloudstack.api.command.user.template.CopyTemplateCmd.execute(CopyTemplateCmd.java:131)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:134)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:100)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:495)
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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:452)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-04-16 15:53:14,344 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-25:job-66) Complete async job-66, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to copy template"}
2014-04-16 15:53:14,358 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-25:job-66) Done executing org.apache.cloudstack.api.command.admin.iso.CopyIsoCmdByAdmin for job-66
2014-04-16 15:53:14,367 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-25:job-66) Remove job-66 from job monitoring
--
This message was sent by Atlassian JIRA
(v6.2#6252)