Hello everyone, I'm in a situation where I need to migrate my infrastructure to new servers as soon as possible. I have installed CS 4.18 management and agent on the same node. I have gone through the installation guide and configured libvirtd based on documentation. However, I am unable to add a KVM host. Below is the error I am getting in the agent.log file. Please note that I have set all required parameters in libvirt config file.
2024-07-17 14:54:59,872 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: com.cloud.utils.exception.CloudRuntimeException: Failed to connect socket to '/var/run/libvirt/virtqemud-sock': Connection refused at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:1097) at com.cloud.agent.Agent.<init>(Agent.java:191) at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:452) at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431) at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415) at com.cloud.agent.AgentShell.start(AgentShell.java:511) at com.cloud.agent.AgentShell.main(AgentShell.java:541) It says that agent is unable to connect libvirt. Please advise. Thanks.