miloserdoff commented on issue #13520:
URL: https://github.com/apache/cloudstack/issues/13520#issuecomment-4862621470

   @weizhouapache I ran an experiment. I disabled all primary storage except 
the problematic one.
   
   <img width="358" height="226" alt="Image" 
src="https://github.com/user-attachments/assets/b3a00b74-c007-4a45-982d-e5959f71c086";
 />
   
   I created a virtual machine and got an error:
   
   <img width="377" height="166" alt="Image" 
src="https://github.com/user-attachments/assets/e00192b9-35a5-4ef0-9f32-876babd89e38";
 />
   
   <img width="753" height="50" alt="Image" 
src="https://github.com/user-attachments/assets/b9c2c7b3-8441-4a36-bdf6-c2d01cd89359";
 />
   
   Logs:
   
   ```
   2026-07-02 05:50:53,403 WARN  [c.c.a.AlertManagerImpl] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
alertType=[8] dataCenterId=[1] podId=[null] clusterId=[null] message=[Failed to 
deploy Vm VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Error","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"},
 on Host null with Id: null].
   2026-07-02 05:50:53,405 WARN  [c.c.a.AlertManagerImpl] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
No recipients set in global setting 'alert.email.addresses', skipping sending 
alert with subject [Failed to deploy Vm VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Error","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"},
 on Host null with Id: null] and content [Failed to deploy Vm VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Error","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"},
 on Host null with Id: null].
   2026-07-02 05:50:53,406 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
Updating resource Type = user_vm count for Account with id = 2 Operation = 
decreasing Amount = 1
   2026-07-02 05:50:53,406 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
Updating resource Type = cpu count for Account with id = 2 Operation = 
decreasing Amount = 32
   2026-07-02 05:50:53,407 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
Updating resource Type = memory count for Account with id = 2 Operation = 
decreasing Amount = 65536
   2026-07-02 05:50:53,410 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
No destination found for a deployment for VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Stopped","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"}:
 No destination found for a deployment for VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Stopped","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"}
   2026-07-02 05:50:53,410 DEBUG [o.a.c.a.c.a.v.DeployVMCmdByAdmin] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801, ctx-cdfba5f9]) (logid:f92282f1) 
No destination found for a deployment for VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Stopped","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"}
 com.cloud.exception.InsufficientServerCapacityException: No destination found 
for a deployment for VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Stopped","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"}Scope=interface
 com.cloud.dc.DataCenter; id=1
           at 
org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:227)
           at 
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:202)
           at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachineUnchecked(UserVmManagerImpl.java:5832)
           at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5896)
           at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5724)
           at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5307)
           at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5296)
           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.$Proxy202.startVirtualMachine(Unknown 
Source)
           at 
org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:98)
           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)
   
   2026-07-02 05:50:53,411 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-4:[ctx-0442a9b1, job-11801]) (logid:f92282f1) Complete async 
job-11801, jobStatus: FAILED, resultCode: 533, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"533","errortext":"No
 destination found for a deployment for VM instance 
{"id":1912,"instanceName":"i-2-1912-VM","state":"Stopped","type":"User","uuid":"dd8fbd4f-003f-4878-a462-b2fa79566fc6"}"}
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to