GitHub user akrasnov-drv closed a discussion: CloudStack fails to start more VMs
Hi, I'm struggling to make CloudStack 4.20.0.0 properly start KVM VMs on Ubuntu 22. We have isolated network over VLAN. CloudStack manages to start single VM and to add several more. But when I ask to start more (e.g. 10-30), Cloudstack starts behaving weird. New VMs produce different errors, then Cloudstack becomes slow, does not clean resources, and at the end stays with number of VMs in Starting state. I have 5 KVM servers connected, each able to handle 30 VMs alone (in KVM without Cloudstack). VMs use local server storage. I do not see any resource problem. I tried to debug the issue, and looks like virtual router stops working properly. I found in its log that it restarts managing script at some point, still part of VMs do not get proper network config. Static NAT enable also returns errors. `Error while enabling static nat. Ip Id: 14` Expunge for VMs then also hangs. In addition sometimes I see KVM hosts stop communicating with management, and stop writing to their local logs. To recover I need to restart management, delete virtual router and clean stuck resources, sometimes directly in mysql db. Agent restart is also sometimes needed. Any help to understand and fix the problem is highly appreciated. I'll provide logs or other info on request. Thanks, Alex. GitHub link: https://github.com/apache/cloudstack/discussions/10184 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org