GitHub user tdtmusic2 added a comment to the discussion: VM on Xen - weird ISO
issue
> So there is no host 11 in that table and this is what the system is looking
> for. I am not sure (yet) if this is a configuration error or whether the
> system should handle this.
Host 11 was removed since then, now it's 12 and it's the same error message
about it:
```
2025-03-27 12:22:14,670 ERROR [c.c.r.ResourceManagerImpl]
(API-Job-Executor-3:ctx-77c18f69 job-415 ctx-8f3c75db) (logid:50f8449f) Host 12
does not have required GPU device or out of capacity. GPU group: Group of
Nvidia Corporation TU104GL [Tesla T4] GPUs, vGPU Type: passthrough
2025-03-27 12:22:14,672 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-3:ctx-77c18f69 job-415) (logid:50f8449f) Unexpected exception
while executing org.apache.cloudstack.api.command.admin.iso.DetachIsoCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Host 12 does not have required
GPU device or out of capacity. GPU group: Group of Nvidia Corporation TU104GL
[Tesla T4] GPUs, vGPU Type: passthrough
at
com.cloud.resource.ResourceManagerImpl.getGPUDevice(ResourceManagerImpl.java:3469)
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(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.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 com.sun.proxy.$Proxy200.getGPUDevice(Unknown Source)
at
com.cloud.hypervisor.HypervisorGuruBase.toVirtualMachineTO(HypervisorGuruBase.java:285)
at com.cloud.hypervisor.XenServerGuru.implement(XenServerGuru.java:93)
at
com.cloud.template.TemplateManagerImpl.attachISOToVM(TemplateManagerImpl.java:1296)
at
com.cloud.template.TemplateManagerImpl.attachISOToVM(TemplateManagerImpl.java:1314)
at
com.cloud.template.TemplateManagerImpl.detachIso(TemplateManagerImpl.java:1175)
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(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:107)
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 com.sun.proxy.$Proxy236.detachIso(Unknown Source)
at
org.apache.cloudstack.api.command.user.iso.DetachIsoCmd.execute(DetachIsoCmd.java:109)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:172)
at
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:112)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:654)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:602)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2025-03-27 12:22:14,674 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-3:ctx-77c18f69 job-415) (logid:50f8449f) Complete async
job-415, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Host
12 does not have required GPU device or out of capacity. GPU group: Group of
Nvidia Corporation TU104GL [Tesla T4] GPUs, vGPU Type: passthrough"}
```
GitHub link:
https://github.com/apache/cloudstack/discussions/10581#discussioncomment-12639610
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]