Unable to find image store to download

2023-09-03 Thread Technology Mail

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

Unable to upload ISO

2023-09-03 Thread Technology rss
Hi,
Currently I am using ACS Edge zone, successfully created a zone but can't
upload iso, then I create a secondary share and add into the UI then
try upload iso, but upload fails.

How can I create vm using my uploaded iso?

Please give me any idea 

Thanks. Regards
Alamin


Re: Unable to find image store to download

2023-09-03 Thread Pearl Dsilva
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 
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(Sco