You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "anirudh09041 (via GitHub)" <gi...@apache.org> on 2026/04/07 16:33:29 UTC
[D] VM provisioning falied. [cloudstack]
GitHub user anirudh09041 created a discussion: VM provisioning falied.
i have set up cloudstack on my on-prem server with management server and host on same server. While provisioning VM it fails immediately giving the below error.
No destination found for a deployment for VM instance {"id":22,"instanceName":"i-2-22-VM","state":"Stopped","type":"User","uuid":"5cc42ccd-11d3-4fa4-b2e6-3bf448cb262c"}
i have checked there is sufficient space (primary, secondary storage)
<img width="558" height="235" alt="image" src="https://github.com/user-attachments/assets/8bcc7877-4716-4b89-ba4b-d4238f3259d2" />
What could be the issue ??
GitHub link: https://github.com/apache/cloudstack/discussions/12974
----
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] VM provisioning falied. [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: VM provisioning falied.
@anirudh09041
```
Hosts with tag '' are:[]
```
can you check the service offering in the database or on UI ? maybe the service offering has a empty string as tag
```
mysql> select id,name,host_tag from service_offering;
```
if host_tag is a emtry string, change it to NULL
```
update service_offering set host_tag=NULL where host_tag = "";
```
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16485318
----
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] VM provisioning falied. [cloudstack]
Posted by "anirudh09041 (via GitHub)" <gi...@apache.org>.
GitHub user anirudh09041 closed a discussion: VM provisioning falied.
i have set up cloudstack on my on-prem server with management server and host on same server. While provisioning VM it fails immediately giving the below error.
No destination found for a deployment for VM instance {"id":22,"instanceName":"i-2-22-VM","state":"Stopped","type":"User","uuid":"5cc42ccd-11d3-4fa4-b2e6-3bf448cb262c"}
i have checked there is sufficient space (primary, secondary storage)
<img width="558" height="235" alt="image" src="https://github.com/user-attachments/assets/8bcc7877-4716-4b89-ba4b-d4238f3259d2" />
What could be the issue ??
GitHub link: https://github.com/apache/cloudstack/discussions/12974
----
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] VM provisioning falied. [cloudstack]
Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
GitHub user vishesh92 added a comment to the discussion: VM provisioning falied.
Did you find anything in the logs?
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16479284
----
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] VM provisioning falied. [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: VM provisioning falied.
> job-156
@anirudh09041
can you check the logs by the job id "job-156" ?
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16480203
----
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] VM provisioning falied. [cloudstack]
Posted by "rishabhjain1997 (via GitHub)" <gi...@apache.org>.
GitHub user rishabhjain1997 added a comment to the discussion: VM provisioning falied.
I am facing the same issue in my environment.
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16479213
----
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] VM provisioning falied. [cloudstack]
Posted by "anirudh09041 (via GitHub)" <gi...@apache.org>.
GitHub user anirudh09041 added a comment to the discussion: VM provisioning falied.
@weizhouapache , it seems it is complaining about storage and some tags ??
**FULL LOGS JOB-156**
[root@cloudstack ~]# grep "aaa8047b" /var/log/cloudstack/management/management-server.log
2026-04-07 11:01:03,678 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1513608173-405:[ctx-f67d29b7, ctx-e0ae67c3]) (logid:7763662a) submit async job-156, details: AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin","cmdInfo":"{\"boottype\":\"BIOS\",\"sessionkey\":\"r2OP4TyoqRV5X4oVq3YSwvQYL2Q\",\"httpmethod\":\"GET\",\"templateid\":\"9a25e490-bc44-44e5-b6ee-0ef1db514709\",\"ctxAccountId\":\"2\",\"uuid\":\"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa\",\"domainid\":\"38b2fd2b-2c2e-11f1-87df-cac32b772b2c\",\"cmdEventType\":\"VM.CREATE\",\"startvm\":\"true\",\"bootmode\":\"LEGACY\",\"iothreadsenabled\":\"false\",\"serviceofferingid\":\"b3abc1ae-3005-4c45-8ac5-dc8087eb88fe\",\"response\":\"json\",\"ctxUserId\":\"2\",\"displayname\":\"test-vm-7\",\"name\":\"test-vm-7\",\"zoneid\":\"553a25b1-3364-4368-a895-6f0b940793e3\",\"ctxStartEventId\":\"414\",\"id\":\"24\",\"ctxDetails\":\"{\\\"interface com.cloud.dc.DataCenter\\\":\\\"553a25b1-3364-4368-a895-6f0b94079
3e3\\\",\\\"interface com.cloud.offering.ServiceOffering\\\":\\\"b3abc1ae-3005-4c45-8ac5-dc8087eb88fe\\\",\\\"interface com.cloud.domain.Domain\\\":\\\"38b2fd2b-2c2e-11f1-87df-cac32b772b2c\\\",\\\"interface com.cloud.template.VirtualMachineTemplate\\\":\\\"9a25e490-bc44-44e5-b6ee-0ef1db514709\\\",\\\"interface com.cloud.vm.VirtualMachine\\\":\\\"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa\\\"}\",\"dynamicscalingenabled\":\"false\",\"account\":\"admin\",\"affinitygroupids\":\"\",\"keypairs\":\"admin-ssh-key-pair\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":156,"initMsid":222939596663596,"instanceId":24,"instanceType":"VirtualMachine","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"aaa8047b-7449-4871-8c80-86591870f401"}
2026-04-07 11:01:03,679 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Executing AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin","cmdInfo":"{\"boottype\":\"BIOS\",\"sessionkey\":\"r2OP4TyoqRV5X4oVq3YSwvQYL2Q\",\"httpmethod\":\"GET\",\"templateid\":\"9a25e490-bc44-44e5-b6ee-0ef1db514709\",\"ctxAccountId\":\"2\",\"uuid\":\"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa\",\"domainid\":\"38b2fd2b-2c2e-11f1-87df-cac32b772b2c\",\"cmdEventType\":\"VM.CREATE\",\"startvm\":\"true\",\"bootmode\":\"LEGACY\",\"iothreadsenabled\":\"false\",\"serviceofferingid\":\"b3abc1ae-3005-4c45-8ac5-dc8087eb88fe\",\"response\":\"json\",\"ctxUserId\":\"2\",\"displayname\":\"test-vm-7\",\"name\":\"test-vm-7\",\"zoneid\":\"553a25b1-3364-4368-a895-6f0b940793e3\",\"ctxStartEventId\":\"414\",\"id\":\"24\",\"ctxDetails\":\"{\\\"interface com.cloud.dc.DataCenter\\\":\\\"553a25b1-3364-4368-a895-6f0b940793e3\\\",\\\"interface c
om.cloud.offering.ServiceOffering\\\":\\\"b3abc1ae-3005-4c45-8ac5-dc8087eb88fe\\\",\\\"interface com.cloud.domain.Domain\\\":\\\"38b2fd2b-2c2e-11f1-87df-cac32b772b2c\\\",\\\"interface com.cloud.template.VirtualMachineTemplate\\\":\\\"9a25e490-bc44-44e5-b6ee-0ef1db514709\\\",\\\"interface com.cloud.vm.VirtualMachine\\\":\\\"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa\\\"}\",\"dynamicscalingenabled\":\"false\",\"account\":\"admin\",\"affinitygroupids\":\"\",\"keypairs\":\"admin-ssh-key-pair\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":156,"initMsid":222939596663596,"instanceId":24,"instanceType":"VirtualMachine","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"aaa8047b-7449-4871-8c80-86591870f401"}
2026-04-07 11:01:03,682 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Account [Account [{"accountName":"admin","id":2,"uuid":"4c55b6bf-2c30-11f1-87df-cac32b772b2c"}]] has access to resource.
2026-04-07 11:01:03,683 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Account [Account [{"accountName":"admin","id":2,"uuid":"4c55b6bf-2c30-11f1-87df-cac32b772b2c"}]] has access to resource.
2026-04-07 11:01:03,691 DEBUG [c.c.n.NetworkModelImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Service SecurityGroup is not supported in the network Network {"id": 213, "name": "defaultGuestNetwork", "uuid": "ace6641f-2fb6-4c13-a1a6-17c7ac8eb34f", "networkofferingid": 8}
2026-04-07 11:01:03,692 DEBUG [c.c.n.NetworkModelImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Service SecurityGroup is not supported in the network Network {"id": 213, "name": "defaultGuestNetwork", "uuid": "ace6641f-2fb6-4c13-a1a6-17c7ac8eb34f", "networkofferingid": 8}
2026-04-07 11:01:03,693 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Trying to deploy VM [error decoding VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}] and details: Plan [{"_dcId":3,"_recreateDisks":false,"preferredHostIds":[],"migrationPlan":false,"hostPriorities":{}}]; avoid list [{}] and planner: [].
2026-04-07 11:01:03,694 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Checking non dedicated resources to deploy VM [VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}].
2026-04-07 11:01:03,695 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Adding pods [[]], clusters [[]] and hosts [[]] to the avoid list in the deploy process of user VM [error decoding VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}], because this VM is not explicitly dedicated to these components.
2026-04-07 11:01:03,695 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Trying to allocate a host and storage pools from datacenter [Zone {"id": "3", "name": "dev-zone-basic", "uuid": "553a25b1-3364-4368-a895-6f0b940793e3"}], pod [null], cluster [null], to deploy VM [VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}] with requested CPU [32000] and requested RAM [(24.00 GB) 25769803776].
2026-04-07 11:01:03,695 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) ROOT volume [Volume {"id":29,"instanceId":24,"name":"ROOT-24","uuid":"ddaf01bd-cac4-4e7a-b2f4-e51212ed5acf","volumeType":"ROOT"}] is not ready to deploy VM [VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}].
2026-04-07 11:01:03,696 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Adding pods [] to the avoid set because these pods are in the Disabled state.
2026-04-07 11:01:03,696 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Adding clusters [] of pod [3] to the void set because these clusters are in the Disabled state.
2026-04-07 11:01:03,696 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Adding hosts [] of datacenter [553a25b1-3364-4368-a895-6f0b940793e3] to the avoid set, because these hosts are in the Disabled state.
2026-04-07 11:01:03,697 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) DeploymentPlan [DataCenterDeployment] has not specified host. Trying to find another destination to deploy VM [VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}], avoiding pods [], clusters [] and hosts [].
2026-04-07 11:01:03,697 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Deploy avoids pods: [], clusters: [], hosts: [].
2026-04-07 11:01:03,697 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Deploy hosts with priorities {}, hosts have NORMAL priority by default
2026-04-07 11:01:03,697 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Searching all possible resources under this Zone: Zone {"id": "3", "name": "dev-zone-basic", "uuid": "553a25b1-3364-4368-a895-6f0b940793e3"}
2026-04-07 11:01:03,697 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Listing clusters in order of aggregate capacity, that have (at least one host with) enough CPU and RAM capacity under this Zone: 3
2026-04-07 11:01:03,698 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Removing from the clusterId list these clusters from avoid set: []
2026-04-07 11:01:03,700 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Checking resources in Cluster: Cluster {id: "3", name: "dev-cluster-kvm", uuid: "ecd4f06b-7810-4cb4-9701-d7ee5a751478"} under Pod: HostPod {"id":3,"name":"dev-pod-1","uuid":"f56e606c-2507-4b7f-862b-bba4c9806064"}
2026-04-07 11:01:03,701 INFO [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) Guest VM is requested with Custom[UEFI] Boot Type false
2026-04-07 11:01:03,701 DEBUG [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) Looking for hosts in zone [3], pod [3], cluster [3]
2026-04-07 11:01:03,701 DEBUG [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) Looking for hosts having tag specified on Template:
2026-04-07 11:01:03,701 DEBUG [c.c.h.d.HostDaoImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) Host tags not specified, to list hosts
2026-04-07 11:01:03,701 DEBUG [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) Hosts with tag '' are:[]
2026-04-07 11:01:03,701 WARN [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) No suitable host found for VM [VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}] with tags null in zone [3], pod [3], cluster [3].
2026-04-07 11:01:03,701 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No suitable hosts found.
2026-04-07 11:01:03,701 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No suitable hosts found under this Cluster: Cluster {id: "3", name: "dev-cluster-kvm", uuid: "ecd4f06b-7810-4cb4-9701-d7ee5a751478"}
2026-04-07 11:01:03,701 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Could not find suitable Deployment Destination for this VM under any clusters, returning.
2026-04-07 11:01:03,702 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Searching all possible resources under this Zone: Zone {"id": "3", "name": "dev-zone-basic", "uuid": "553a25b1-3364-4368-a895-6f0b940793e3"}
2026-04-07 11:01:03,702 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Listing clusters in order of aggregate capacity, that have (at least one host with) enough CPU and RAM capacity under this Zone: 3
2026-04-07 11:01:03,702 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Removing from the clusterId list these clusters from avoid set: [3]
2026-04-07 11:01:03,702 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No clusters found after removing disabled clusters and clusters in avoid list, returning.
2026-04-07 11:01:03,703 DEBUG [c.c.v.UserVmManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Destroying vm VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"} as it failed to create on Host: null with id null
2026-04-07 11:01:03,709 DEBUG [c.c.c.CapacityManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Error","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"} state transited from [Stopped] to [Error] with event [OperationFailedToError]. VM's original host: null, new host: null, host before state transition: null
2026-04-07 11:01:03,709 DEBUG [c.c.s.d.VolumeDaoImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Removing volume 29 from DB
2026-04-07 11:01:03,716 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Updating resource Type = volume count for Account with id = 2 Operation = decreasing Amount = 1
2026-04-07 11:01:03,717 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Updating resource Type = primary_storage count for Account with id = 2 Operation = decreasing Amount = (301.20 GB) 323413344256
2026-04-07 11:01:03,722 WARN [c.c.a.AlertManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) alertType=[8] dataCenterId=[3] podId=[null] clusterId=[null] message=[Failed to deploy Vm VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Error","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}, on Host null with Id: null].
2026-04-07 11:01:03,724 WARN [c.c.a.AlertManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No recipients set in global setting 'alert.email.addresses', skipping sending alert with subject [Failed to deploy Vm VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Error","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}, on Host null with Id: null] and content [Failed to deploy Vm VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Error","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}, on Host null with Id: null].
2026-04-07 11:01:03,724 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Updating resource Type = user_vm count for Account with id = 2 Operation = decreasing Amount = 1
2026-04-07 11:01:03,725 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Updating resource Type = cpu count for Account with id = 2 Operation = decreasing Amount = 16
2026-04-07 11:01:03,725 DEBUG [c.c.r.ResourceLimitManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Updating resource Type = memory count for Account with id = 2 Operation = decreasing Amount = 24576
2026-04-07 11:01:03,730 INFO [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No destination found for a deployment for VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}: No destination found for a deployment for VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}
2026-04-07 11:01:03,730 DEBUG [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No destination found for a deployment for VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"} com.cloud.exception.InsufficientServerCapacityException: No destination found for a deployment for VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}Scope=interface com.cloud.dc.DataCenter; id=3
2026-04-07 11:01:03,731 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Complete async job-156, 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":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}"}
2026-04-07 11:01:03,731 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Publish async job-156 complete on message bus
2026-04-07 11:01:03,731 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Wake up jobs related to job-156
2026-04-07 11:01:03,731 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Update db status for job-156
2026-04-07 11:01:03,731 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Wake up jobs joined with job-156 and disjoin all subjobs created from job- 156
2026-04-07 11:01:03,734 DEBUG [c.c.a.ApiServer] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Retrieved cmdEventType from job info: VM.CREATE
2026-04-07 11:01:03,735 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Done executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin for job-156
2026-04-07 11:01:03,735 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-4:[ctx-c10eb576, job-156]) (logid:aaa8047b) Remove job-156 from job monitoring
2026-04-07 11:01:03,947 DEBUG [c.c.a.ApiServlet] (qtp1513608173-1077:[ctx-f1e0886b]) (logid:ee1eb438) ===START=== 172.28.12.115 -- GET jobId=aaa8047b-7449-4871-8c80-86591870f401&command=queryAsyncJobResult&response=json&sessionkey=r2OP4TyoqRV5X4oVq3YSwvQYL2Q
2026-04-07 11:01:03,954 DEBUG [c.c.a.ApiServlet] (qtp1513608173-1077:[ctx-f1e0886b, ctx-87917c9f]) (logid:ee1eb438) ===END=== 172.28.12.115 -- GET jobId=aaa8047b-7449-4871-8c80-86591870f401&command=queryAsyncJobResult&response=json&sessionkey=r2OP4TyoqRV5X4oVq3YSwvQYL2Q
**There is this one line i am not able to understand.**
r]) (logid:aaa8047b) Host tags not specified, to list hosts
2026-04-07 11:01:03,701 DEBUG [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) Hosts with tag '' are:[]
2026-04-07 11:01:03,701 WARN [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8, FirstFitRoutingAllocator]) (logid:aaa8047b) No suitable host found for VM [VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}] with tags null in zone [3], pod [3], cluster [3].
2026-04-07 11:01:03,701 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No suitable hosts found.
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16485256
----
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] VM provisioning falied. [cloudstack]
Posted by "anirudh09041 (via GitHub)" <gi...@apache.org>.
GitHub user anirudh09041 added a comment to the discussion: VM provisioning falied.
Hi @vishesh92 , thanks for replying.
i checked the logs right after provisioning a VM and could find the below error and message.
2026-04-07 11:01:03,703 DEBUG [c.c.v.UserVmManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Destroying vm VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"} as it failed to create on Host: null with id null
2026-04-07 11:01:03,709 DEBUG [c.c.c.CapacityManagerImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Error","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"} state transited from [Stopped] to [Error] with event [OperationFailedToError]. VM's original host: null, new host: null, host before state transition: null
2026-04-07 11:01:03,709 DEBUG [c.c.s.d.VolumeDaoImpl] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) Removing volume 29 from DB
2026-04-07 11:01:03,730 DEBUG [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-4:[ctx-c10eb576, job-156, ctx-ce2ed3a8]) (logid:aaa8047b) No destination found for a deployment for VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"} com.cloud.exception.InsufficientServerCapacityException: No destination found for a deployment for VM instance {"id":24,"instanceName":"i-2-24-VM","state":"Stopped","type":"User","uuid":"c9601b9f-6188-4b9b-b0ea-ba55ea1460fa"}Scope=interface com.cloud.dc.DataCenter; id=3
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:5640)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5493)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5094)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:5083)
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.$Proxy210.startVirtualMachine(Unknown Source)
at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:781)
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:661)
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:609)
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)
But as i showd in my ss above there is enough space available on my server. Below is how i have set up primary and secondary storage on the same server.
<img width="1464" height="377" alt="image" src="https://github.com/user-attachments/assets/b5a3c3e8-c45d-46a4-a7ea-cb1fd531c3ba" />
**Primary Storage**
<img width="1583" height="135" alt="image" src="https://github.com/user-attachments/assets/faafff3d-f4d9-43d8-a1a3-c7052b91985d" />
**Secondary Storage**
<img width="1592" height="167" alt="image" src="https://github.com/user-attachments/assets/aa4a45b0-4a5f-471e-8d13-459db239b55b" />
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16479991
----
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] VM provisioning falied. [cloudstack]
Posted by "anirudh09041 (via GitHub)" <gi...@apache.org>.
GitHub user anirudh09041 added a comment to the discussion: VM provisioning falied.
Hi @weizhouapache , the issue is resolved.
Earlier i thought scheduler might pick up the correct pod, cluster and hence i was keeping those fields empty while provisioning the Instance. After i filled them the instance got provisioned.
<img width="1121" height="375" alt="image" src="https://github.com/user-attachments/assets/a42ae2e6-17bd-43fb-b84c-b167762f7d46" />
Now that instance has been provisioned, i am facing a new issue where i am not able to ssh it. (nor able to ping it)
I will create a seperate discussion for that though..
Thanks for helping me out !!
GitHub link: https://github.com/apache/cloudstack/discussions/12974#discussioncomment-16487420
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org