kiranchavala opened a new issue, #11112: URL: https://github.com/apache/cloudstack/issues/11112
### problem Unable to register a cloud image template with direct download option enabled ### versions ACS 4.20.1 . 4.19 ### The steps to reproduce the bug 1. Register a cloud image template with direct download option enabled ``` Ubuntu 24.04: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img Debian 12: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2 AlmaLinux 8: https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2 OpenSUSE 15: https://download.opensuse.org/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.x86_64-Cloud.qcow2 ``` 2. Exception observed ``` 2025-07-01 05:59:19,553 ERROR [c.c.a.ApiServer] (qtp1390913202-21:[ctx-3cebe65a, ctx-8c1b79c8]) (logid:6f306659) unhandled exception executing api command: [Ljava.lang.String;@15eb3095 com.cloud.utils.exception.CloudRuntimeException: URL: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2 validation failed on host Host {"id":2,"name":"ref-trl-8752-k-Mol8-kiran-chavala-kvm2","type":"Routing","uuid":"5aeefe1c-7404-40e9-92bf-b5b1445e160c"} at com.cloud.template.HypervisorTemplateAdapter.performDirectDownloadUrlValidation(HypervisorTemplateAdapter.java:188) at com.cloud.template.HypervisorTemplateAdapter.prepare(HypervisorTemplateAdapter.java:246) at com.cloud.template.TemplateManagerImpl.registerTemplate(TemplateManagerImpl.java:374) 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:105) 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) ``` The issue should have been fixed in the past https://github.com/apache/cloudstack/pull/9900 https://github.com/apache/cloudstack/issues/9086 ### What to do about it? There should be no exception when registering cloud image templates as direct download -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org