You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "UAnton (via GitHub)" <gi...@apache.org> on 2025/02/24 14:37:23 UTC
[D] Compute Offerings [cloudstack]
GitHub user UAnton created a discussion: Compute Offerings
Hi,
How to create custom compute offerings? I tried all settings variants but got an error while the VM started.
```
2025-02-24 14:30:59,371 INFO [o.a.c.a.c.a.v.StartVMCmdByAdmin] (API-Job-Executor-15:[ctx-d979b165, job-68, ctx-7700c7cf]) (logid:8e18cfc5) com.cloud.exception.InsufficientServerCapacityException: No destination found for a deployment for VM instance {"id":9,"instanceName":"i-2-9-VM","type":"User","uuid":"cb375122-88a5-439d-bbfe-767f951d1f64"}Scope=interface com.cloud.dc.DataCenter; id=1
2025-02-24 14:30:59,371 INFO [o.a.c.a.c.a.v.StartVMCmdByAdmin] (API-Job-Executor-15:[ctx-d979b165, job-68, ctx-7700c7cf]) (logid:8e18cfc5) No destination found for a deployment for VM instance {"id":9,"instanceName":"i-2-9-VM","type":"User","uuid":"cb375122-88a5-439d-bbfe-767f951d1f64"} com.cloud.exception.InsufficientServerCapacityException: No destination found for a deployment for VM instance {"id":9,"instanceName":"i-2-9-VM","type":"User","uuid":"cb375122-88a5-439d-bbfe-767f951d1f64"}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.startVirtualMachine(UserVmManagerImpl.java:5638)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5491)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3299)
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)
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.$Proxy209.startVirtualMachine(Unknown Source)
at org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:183)
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:652)
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:600)
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)
```
Thanks for your help!
GitHub link: https://github.com/apache/cloudstack/discussions/10452
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Compute Offerings [cloudstack]
Posted by "UAnton (via GitHub)" <gi...@apache.org>.
GitHub user UAnton added a comment to the discussion: Compute Offerings
Hi @Pearl1594,
I found the problem. I set CPU GHz more then my CPU has.
Thanks!
GitHub link: https://github.com/apache/cloudstack/discussions/10452#discussioncomment-12313435
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Compute Offerings [cloudstack]
Posted by "Pearl1594 (via GitHub)" <gi...@apache.org>.
GitHub user Pearl1594 added a comment to the discussion: Compute Offerings
@UAnton Could you please provide the details of the compute offering created as there could be many factors that could lead to this issue:
- requested CPU/ RAM may be more that what any of the hosts can offer
- host tags
many more ..
It would also be helpful if you could share the entire log.
GitHub link: https://github.com/apache/cloudstack/discussions/10452#discussioncomment-12301683
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Compute Offerings [cloudstack]
Posted by "UAnton (via GitHub)" <gi...@apache.org>.
GitHub user UAnton closed a discussion: Compute Offerings
Hi,
How to create custom compute offerings? I tried all settings variants but got an error while the VM started.
```
2025-02-24 14:30:59,371 INFO [o.a.c.a.c.a.v.StartVMCmdByAdmin] (API-Job-Executor-15:[ctx-d979b165, job-68, ctx-7700c7cf]) (logid:8e18cfc5) com.cloud.exception.InsufficientServerCapacityException: No destination found for a deployment for VM instance {"id":9,"instanceName":"i-2-9-VM","type":"User","uuid":"cb375122-88a5-439d-bbfe-767f951d1f64"}Scope=interface com.cloud.dc.DataCenter; id=1
2025-02-24 14:30:59,371 INFO [o.a.c.a.c.a.v.StartVMCmdByAdmin] (API-Job-Executor-15:[ctx-d979b165, job-68, ctx-7700c7cf]) (logid:8e18cfc5) No destination found for a deployment for VM instance {"id":9,"instanceName":"i-2-9-VM","type":"User","uuid":"cb375122-88a5-439d-bbfe-767f951d1f64"} com.cloud.exception.InsufficientServerCapacityException: No destination found for a deployment for VM instance {"id":9,"instanceName":"i-2-9-VM","type":"User","uuid":"cb375122-88a5-439d-bbfe-767f951d1f64"}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.startVirtualMachine(UserVmManagerImpl.java:5638)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5491)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3299)
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)
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.$Proxy209.startVirtualMachine(Unknown Source)
at org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:183)
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:652)
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:600)
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)
```
Thanks for your help!
GitHub link: https://github.com/apache/cloudstack/discussions/10452
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org