You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "happyalexkg (via GitHub)" <gi...@apache.org> on 2024/12/12 03:30:47 UTC

[I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

happyalexkg opened a new issue, #10091:
URL: https://github.com/apache/cloudstack/issues/10091

   I had a 4.18.x installation that worked perfectly with Linstor. VMs were created without any issues, and everything functioned flawlessly. Since this was a test environment, I decided to upgrade to 4.20. The upgrade completed successfully, with no errors encountered.
   
   However, when I attempted to create a VM, I encountered the following error:
   Unable to orchestrate start VM instance.
   
   I assumed there might be an issue in the integration with Linstor, so I decided to perform a clean installation of 4.20. The installation went smoothly, and the configuration and settings were identical to those in 4.18. Despite this, VMs still fail to create.
   
   When creating a VM, I see the following in the logs:
   ```
   2024-12-11 17:11:19,788 DEBUG [c.c.v.ClusteredVirtualMachineManagerImpl] (Work-Job-Executor-85:[ctx-9a91bf59, job-975/job-976, ctx-e5509a97]) (logid:01094d38) Cleaning up resources for the vm VM instance {"id":267,"instanceName":"i-2-267
   -VM","type":"User","uuid":"aea7fd99-a309-4599-9003-facbca54a849"} in Starting state
   2024-12-11 17:11:19,801 DEBUG [c.c.v.ClusteredVirtualMachineManagerImpl] (Work-Job-Executor-85:[ctx-9a91bf59, job-975/job-976, ctx-e5509a97]) (logid:01094d38) VM instance {"id":267,"instanceName":"i-2-267-VM","type":"User","uuid":"aea7fd
   99-a309-4599-9003-facbca54a849"} is a [User], returning null for control Nic IP.
   ```
   
   Then the status changes:
   ```
   2024-12-11 17:11:20,234 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-85:[ctx-9a91bf59, job-975/job-976, ctx-e5509a97]) (logid:01094d38) VM instance {"id":267,"instanceName":"i-2-267-VM","type":"User","uuid":"aea7fd99-a309-4599-90
   03-facbca54a849"} state transited from [Starting] to [Stopped] with event [OperationFailed]. VM's original host: null, new host: null, host before state transition: Host {"id":2,"name":"cloud-node02","type":"Routing","uuid":"f8b0e878-2f8
   2-490c-9dd1-2ba5f2dea128"}
   ```
   It feels like the issue might be network-related:
   ```
   2024-12-11 17:11:20,275 ERROR [c.c.v.ClusteredVirtualMachineManagerImpl] (Work-Job-Executor-85:[ctx-9a91bf59, job-975/job-976, ctx-e5509a97]) (logid:01094d38) Unable to orchestrate start VM instance {"id":267,"instanceName":"i-2-267-VM",
   "type":"User","uuid":"aea7fd99-a309-4599-9003-facbca54a849"} due to [Failed to implement network id=206 as a part preparing nic id=765]
   ```
   
   The installation was performed on AlmaLinux 9.5.
   
   I checked the network settings, and everything appears to be in order.
   
   
   


-- 
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-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "happyalexkg (via GitHub)" <gi...@apache.org>.
happyalexkg commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538592407

   > @happyalexkg, I'm unfamiliar with the host's tags and the new functionality introduced for them. But from what I saw in the code you need to set the host tag as a Rule for the host when you use it with offerings. Probably @weizhouapache could correct me if I'm wrong
   
   yes, host tags was in offerings and hosts... but seems issue was in storage tag in Router Offering
   
   Removing Storage Tag resolves issue with creating VM


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "happyalexkg (via GitHub)" <gi...@apache.org>.
happyalexkg commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538566944

   ![offering2](https://github.com/user-attachments/assets/045e0393-edb5-44ae-8503-47e075f853d1)
   ![host_tag_server1](https://github.com/user-attachments/assets/29410ff2-763d-4a39-b656-b441fff561e1)
   ![host_tag_server2](https://github.com/user-attachments/assets/7f6e0494-89d1-498d-99a0-36c5be3c1edb)
   ![host_tag_offering1](https://github.com/user-attachments/assets/dfb6c628-c9ed-41cb-8336-65925117887d)
   
   both host and offerings having correct tags and router offering also
   
   ![router](https://github.com/user-attachments/assets/2535debd-8526-4a67-8809-48de85b805af)
   


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538530627

   @happyalexkg, from what I see the offering (probably that for the router) has a Host tag but the host itself doesn't
   
   ```
   2024-12-12 14:06:03,268 DEBUG [c.c.a.m.a.i.FirstFitRoutingAllocator] (API-Job-Executor-49:[ctx-7f941ae5, job-1058, ctx-290c1bdb, FirstFitRoutingAllocator]) (logid:82bc6300) Looking for hosts having tag specified on SvcOffering:cloud
   
   2024-12-12 14:06:05,660 ERROR [c.c.a.m.a.i.FirstFitRoutingAllocator] (Work-Job-Executor-127:[ctx-cf554c81, job-1058/job-1059, ctx-c3a2aead, FirstFitRoutingAllocator]) (logid:82bc6300) No suitable host found for vm [VM instance {"id":276,"instanceName":"r-276-VM","type":"DomainRouter","uuid":"7fd53f56-7297-4077-b121-5b2ea53659ad"}] with tags [null].
   ```
   
   that's why it fails with the error that there are no suitable hosts


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538490889

   > [job-1058.txt](https://github.com/user-attachments/files/18107981/job-1058.txt) Hi, I have already cleaned the log. Here is the log from the repeated VM creation attempt .Logs attached
   
   the log file shows
   ```
   2024-12-12 14:06:05,685 ERROR [o.a.c.e.o.NetworkOrchestrator] (Work-Job-Executor-127:[ctx-cf554c81, job-1058/job-1059, ctx-c3a2aead]) (logid:82bc6300) Caught exception: No suitable host found for vm [VM instance {"id":276,"instanceName":"r-276-VM","type":"DomainRouter","uuid":"7fd53f56-7297-4077-b121-5b2ea53659ad"}].
   ```
   
   
   


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #10091: Unable to orchestrate start VM instance on fresh 4.20 
URL: https://github.com/apache/cloudstack/issues/10091


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "happyalexkg (via GitHub)" <gi...@apache.org>.
happyalexkg commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538162499

   [job-1058.txt](https://github.com/user-attachments/files/18107981/job-1058.txt)
   Hi,
   I have already cleaned the log. Here is the log from the repeated VM creation attempt .Logs attached


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "happyalexkg (via GitHub)" <gi...@apache.org>.
happyalexkg commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538579121

   Hi,
   I removed Storage tag for Software Router and seems, it's works now :)
   Thank you for you support
   
   Big Thanks
   


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "slavkap (via GitHub)" <gi...@apache.org>.
slavkap commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538586037

   @happyalexkg, I'm unfamiliar with the host's tags and the new functionality introduced for them. But from what I saw in the code you need to set the host tag as a Rule for the host when you use it with offerings. Probably @weizhouapache could correct me if I'm wrong


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Unable to orchestrate start VM instance on fresh 4.20 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10091:
URL: https://github.com/apache/cloudstack/issues/10091#issuecomment-2538041372

   can you share the full log of job job-975 ?


-- 
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-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org