kiranchavala opened a new issue, #9860: URL: https://github.com/apache/cloudstack/issues/9860
ISSUE TYPE Bug COMPONENT NAME Component: Bug CLOUDSTACK VERSION Cloudstack version 4.18.2.4 SUMMARY Unable to deploy a vm's from direct download templates **Steps to reproduce the behaviour** 1. Register a direct download template 2. Deploy a vm from a direct download template 3. Deployment fails Logs ``` 2024-10-28 05:46:23,352 DEBUG [c.c.c.CapacityManagerImpl] (qtp1690859824-16:ctx-b0ed8197 ctx-a76f8643) (logid:2020d42d) VM instance {"id":8,"instanceName":"i-2-8-VM","type":"User","uuid":"9f55705e-fd9b-4e27-bca6-dc5a88b9f341"} state transited from [Stopped] to [Error] with event [OperationFailedToError]. VM's original host: null, new host: null, host before state transition: null 2024-10-28 05:46:23,368 ERROR [c.c.a.ApiServer] (qtp1690859824-16:ctx-b0ed8197 ctx-a76f8643) (logid:2020d42d) unhandled exception executing api command: [Ljava.lang.String;@4838a1ed com.cloud.utils.exception.CloudRuntimeException: Template 204 has not been completely downloaded to zone 1 at com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateManagerImpl.java:2016) 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(AopU ```  This issue is only observed on 4.18.2.X Tested On 4.18.1.1 and the issue was not observed Expected Behaviour The deployments should succeed on 4.18.2.X environments -- 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