GitHub user wverleger created a discussion: Unable to download Templates / ISOs

Hi,

ACS 4.22.0
NFS as secondary storage

We got the following message while trying to download a template or iso:

Download Template
[Ubuntu Server 24.04 LTS - ] Unable to create a link for entity at 
template/tmpl/6/316/389d4c9f-e9fb-4349-a1d4-05d88a2b4a47.qcow2 on ssvm, Error 
in creating directory =mkdir: cannot create directory 
‘/var/www/html/userdata/672b8573-d852-43e6-aded-eebdb22fc5c4/’: Permission 
denied

```
2026-03-02 16:17:40,159 ERROR [o.a.c.s.i.BaseImageStoreDriverImpl] 
(API-Job-Executor-83:[ctx-563ee651, job-78150, ctx-afa69ef4]) (logid:78389a6d) 
Unable to create a link for entity at 
template/tmpl/6/316/389d4c9f-e9fb-4349-a1d4-05d88a2b4a47.qcow2 on ssvm, Error 
in creating directory =mkdir: cannot create directory 
‘/var/www/html/userdata/672b8573-d852-43e6-aded-eebdb22fc5c4/’: Permission 
denied
2026-03-02 16:17:40,186 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-83:[ctx-563ee651, job-78150]) (logid:78389a6d) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd 
com.cloud.utils.exception.CloudRuntimeException: Unable to create a link for 
entity at template/tmpl/6/316/389d4c9f-e9fb-4349-a1d4-05d88a2b4a47.qcow2 on 
ssvm, Error in creating directory =mkdir: cannot create directory 
‘/var/www/html/userdata/672b8573-d852-43e6-aded-eebdb22fc5c4/’: Permission 
denied
        at 
org.apache.cloudstack.storage.datastore.driver.CloudStackImageStoreDriverImpl.createEntityExtractUrl(CloudStackImageStoreDriverImpl.java:123)
        at 
org.apache.cloudstack.storage.image.store.ImageStoreImpl.createEntityExtractUrl(ImageStoreImpl.java:213)
        at 
com.cloud.template.TemplateManagerImpl.extract(TemplateManagerImpl.java:620)
        at 
com.cloud.template.TemplateManagerImpl.extract(TemplateManagerImpl.java:517)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        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:109)
        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 jdk.proxy3/jdk.proxy3.$Proxy260.extract(Unknown Source)
        at 
org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd.execute(ExtractTemplateCmd.java:129)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:173)
        at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:110)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:698)
        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:646)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
```

Is there anything known to this issue in ACS 4.22.0 ?

Thank you!

GitHub link: https://github.com/apache/cloudstack/discussions/12730

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to