GitHub user akrasnov-drv edited a comment on the discussion: CloudStack fails to start more VMs
libvirt version - 8.0.0-1ubuntu7.10 I see in libvirt log the following messages that may be relevant (at least they started approximately at time of problem start) ``` Failed to connect socket to '/var/run/libvirt/virtlxcd-sock': No such file or directory End of file while reading data: Input/output error ``` Also I see repeating CloudStack agent errors when the problem starts (at least in some of hosts) ``` 2025-01-14 13:51:37,619 WARN [kvm.resource.LibvirtConnection] (agentRequest-Handler-2:[]) (logid:60e624f6) Can not find a connection for Instance i-2-2157-VM. Assuming the default connection. 2025-01-14 13:51:37,774 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-2:[]) (logid:60e624f6) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied. 2025-01-14 13:51:37,774 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-2:[]) (logid:60e624f6) Groovy scripting engine is not initialized. Data transformation skipped. 2025-01-14 13:52:25,578 INFO [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:[]) (logid:f8728dc0) No existing libvirtd connection found. Opening a new one 2025-01-14 13:52:25,579 WARN [kvm.resource.LibvirtConnection] (agentRequest-Handler-1:[]) (logid:f8728dc0) Can not find a connection for Instance i-2-2160-VM. Assuming the default connection. 2025-01-14 13:52:25,751 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-1:[]) (logid:f8728dc0) Groovy script '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. Transformations will not be applied. 2025-01-14 13:52:25,751 WARN [kvm.resource.LibvirtKvmAgentHook] (agentRequest-Handler-1:[]) (logid:f8728dc0) Groovy scripting engine is not initialized. Data transformation skipped. 2025-01-14 13:53:35,686 INFO [kvm.resource.LibvirtConnection] (agentRequest-Handler-4:[]) (logid:cda7a48e) No existing libvirtd connection found. Opening a new one ``` After libvirt restart, CloudStack agent managed to connect to libvirt, and logs started looking regular. Seems that's the issue. But we had no issue with our KVM hosts without CloudStack. Please advise. GitHub link: https://github.com/apache/cloudstack/discussions/10184#discussioncomment-11831977 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org