You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Technology Mail <te...@gmail.com> on 2023/09/03 13:47:39 UTC

Unable to find image store to download

Hi,

My setup is almalinux 8, and zone type is Edge, Now I try to upload iso 
but I face this error > Unable to find image store to download template 
null,

How can I upload iso into mgmt server?

+++++++++++++++

2023-09-03 19:43:13,001 WARN  [o.a.c.a.ProjectRoleBasedApiAccessChecker] 
(qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) Project is 
null, ProjectRoleBasedApiAccessChecker only applies to projects, 
returning API [registerIso] for user [User 
{"username":"admin","uuid":"33884ade-4a57-11ee-acdf-08002737abca"}.] as 
allowed.
2023-09-03 19:43:13,002 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) RoleService 
is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
2023-09-03 19:43:13,004 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) API rate 
limiting is disabled. We will not use ApiRateLimitService.
2023-09-03 19:43:13,197 ERROR [c.c.a.ApiServer] 
(qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) unhandled 
exception executing api command: [Ljava.lang.String;@161b9f58
com.cloud.utils.exception.CloudRuntimeException: Unable to find image 
store to download template null
         at 
com.cloud.template.HypervisorTemplateAdapter.createTemplateWithinZone(HypervisorTemplateAdapter.java:283)
         at 
com.cloud.template.HypervisorTemplateAdapter.create(HypervisorTemplateAdapter.java:263)
         at 
com.cloud.template.TemplateManagerImpl.registerIso(TemplateManagerImpl.java:328)
         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
         at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
         at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
         at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
         at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
         at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
         at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
         at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
         at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
         at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
         at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
         at com.sun.proxy.$Proxy222.registerIso(Unknown Source)
         at 
org.apache.cloudstack.api.command.user.iso.RegisterIsoCmd.execute(RegisterIsoCmd.java:253)
         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:777)
         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:601)
         at 
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347)
         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154)
         at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
         at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
         at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151)
         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
         at 
org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
         at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
         at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
         at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
         at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
         at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
         at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
         at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
         at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
         at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
         at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
         at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
         at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
         at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
         at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
         at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
         at 
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
         at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
         at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
         at org.eclipse.jetty.server.Server.handle(Server.java:516)
         at 
org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
         at 
org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
         at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
         at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
         at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
         at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
         at 
org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
         at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
         at 
org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
         at java.base/java.lang.Thread.run(Thread.java:829)
2023-09-03 19:43:13,214 DEBUG [c.c.a.ApiServlet] 
(qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) ===END===  
10.66.10.22 -- GET 
bootable=true&isextractable=true&ispublic=true&zoneid=-1&ostypeid=f72b1e65-4a56-11ee-acdf-08002737abca&url=http:%2F%2F10.66.10.22%2Fiso%2FWindows_10_64_Feb.iso&name=windows-10&displaytext=windows-10&isfeatured=true&command=registerIso&response=json
2023-09-03 19:43:13,350 DEBUG [o.a.c.h.HAManagerImpl] 
(BackgroundTaskPollManager-4:ctx-08dcc426) (logid:8b811b88) HA health 
check task is running...

+++++++++++++++++++

Please help me....


-- 

*Thanks & Regards.*

*Support Admin*

------------------------------------------------------------------------

*Facebook <https://www.facebook.com/TechnologyRSS> | Twitter 
<https://twitter.com/technologyrss1> | YouTube 
<https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn 
<https://www.linkedin.com/company/technologyrss/>*

*Address : *116/1 West Malibagh, D. I. T Road

Dhaka-1217, Bangladesh

*Mob :* +88 01716915504

*Email :* support.admin@technologyrss.com

*Web :* www.technologyrss.com

Re: Unable to find image store to download

Posted by Pearl Dsilva <pe...@gmail.com>.
Hi,

I believe this is currently a known limitation in the Edge Zones feature as
explained in https://github.com/apache/cloudstack/issues/7284 .

Regards,


On Sun, Sep 3, 2023 at 9:48 AM Technology Mail <te...@gmail.com>
wrote:

> Hi,
>
> My setup is almalinux 8, and zone type is Edge, Now I try to upload iso
> but I face this error > Unable to find image store to download template
> null,
>
> How can I upload iso into mgmt server?
>
> +++++++++++++++
>
> 2023-09-03 19:43:13,001 WARN  [o.a.c.a.ProjectRoleBasedApiAccessChecker]
> (qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) Project is
> null, ProjectRoleBasedApiAccessChecker only applies to projects,
> returning API [registerIso] for user [User
> {"username":"admin","uuid":"33884ade-4a57-11ee-acdf-08002737abca"}.] as
> allowed.
> 2023-09-03 19:43:13,002 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker]
> (qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) RoleService
> is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
> 2023-09-03 19:43:13,004 DEBUG [o.a.c.r.ApiRateLimitServiceImpl]
> (qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) API rate
> limiting is disabled. We will not use ApiRateLimitService.
> 2023-09-03 19:43:13,197 ERROR [c.c.a.ApiServer]
> (qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) unhandled
> exception executing api command: [Ljava.lang.String;@161b9f58
> com.cloud.utils.exception.CloudRuntimeException: Unable to find image
> store to download template null
>          at
>
> com.cloud.template.HypervisorTemplateAdapter.createTemplateWithinZone(HypervisorTemplateAdapter.java:283)
>          at
>
> com.cloud.template.HypervisorTemplateAdapter.create(HypervisorTemplateAdapter.java:263)
>          at
>
> com.cloud.template.TemplateManagerImpl.registerIso(TemplateManagerImpl.java:328)
>          at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>          at
>
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>          at
>
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>          at
>
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
>          at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
>          at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>          at
>
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
>          at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
>          at
>
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
>          at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
>          at
>
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
>          at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
>          at
>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
>          at com.sun.proxy.$Proxy222.registerIso(Unknown Source)
>          at
>
> org.apache.cloudstack.api.command.user.iso.RegisterIsoCmd.execute(RegisterIsoCmd.java:253)
>          at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
>          at com.cloud.api.ApiServer.queueCommand(ApiServer.java:777)
>          at com.cloud.api.ApiServer.handleRequest(ApiServer.java:601)
>          at
> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:347)
>          at com.cloud.api.ApiServlet$1.run(ApiServlet.java:154)
>          at
>
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
>          at
>
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
>          at
>
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
>          at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:151)
>          at com.cloud.api.ApiServlet.doGet(ApiServlet.java:105)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
>          at
>
> org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
>          at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
>          at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
>          at
>
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>          at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
>          at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
>          at
>
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
>          at
>
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
>          at
>
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
>          at
>
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
>          at
>
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
>          at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
>          at
>
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
>          at
>
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
>          at
>
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
>          at
>
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>          at
>
> org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772)
>          at
>
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
>          at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
>          at org.eclipse.jetty.server.Server.handle(Server.java:516)
>          at
> org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
>          at
> org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
>          at
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
>          at
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
>          at
> org.eclipse.jetty.io
> .AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
>          at
> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
>          at
> org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
>          at
>
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
>          at
>
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
>          at java.base/java.lang.Thread.run(Thread.java:829)
> 2023-09-03 19:43:13,214 DEBUG [c.c.a.ApiServlet]
> (qtp649329985-14:ctx-b7f074a7 ctx-ac926d45) (logid:b5408043) ===END===
> 10.66.10.22 -- GET
>
> bootable=true&isextractable=true&ispublic=true&zoneid=-1&ostypeid=f72b1e65-4a56-11ee-acdf-08002737abca&url=http:%2F%2F10.66.10.22%2Fiso%2FWindows_10_64_Feb.iso&name=windows-10&displaytext=windows-10&isfeatured=true&command=registerIso&response=json
> 2023-09-03 19:43:13,350 DEBUG [o.a.c.h.HAManagerImpl]
> (BackgroundTaskPollManager-4:ctx-08dcc426) (logid:8b811b88) HA health
> check task is running...
>
> +++++++++++++++++++
>
> Please help me....
>
>
> --
>
> *Thanks & Regards.*
>
> *Support Admin*
>
> ------------------------------------------------------------------------
>
> *Facebook <https://www.facebook.com/TechnologyRSS> | Twitter
> <https://twitter.com/technologyrss1> | YouTube
> <https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn
> <https://www.linkedin.com/company/technologyrss/>*
>
> *Address : *116/1 West Malibagh, D. I. T Road
>
> Dhaka-1217, Bangladesh
>
> *Mob :* +88 01716915504
>
> *Email :* support.admin@technologyrss.com
>
> *Web :* www.technologyrss.com
>


-- 
Pearl Dsilva