Hi Everybody, I just fixed the issue :) As per mentioned in the link below, the issue was systemd-machined daemon which tracks locally running virtual machines. I just restarted it as well as restarted libvirtd and cloudstack-agent and it started to work fine.
https://www.softaculous.com/board/index.php?tid=14450 Thanks On Thu, Apr 22, 2021 at 9:35 PM Fariborz Navidan <mdvlinqu...@gmail.com> wrote: > Hello, > > I'm running 4.15.0.0 > > On Thu, Apr 22, 2021 at 9:05 PM Gabriel Bräscher <gabrasc...@gmail.com> > wrote: > >> Hi Fariborz, >> >> What version of CloudStack are you running? >> >> Em qui., 22 de abr. de 2021 às 13:14, Fariborz Navidan < >> mdvlinqu...@gmail.com> escreveu: >> >> > Hello All, >> > >> > I am not able to start any stopped VM. Agent and Libvirtd are both >> running. >> > However, I see the following exception in agent.log: >> > >> > This is the exception I found in the agent.log: >> > >> > 2021-04-22 12:21:29,045 WARN [kvm.resource.LibvirtKvmAgentHook] >> > (agentRequest-Handler-1:null) (logid:4d875f04) Groovy scripting engine >> is >> > not initialized. Data transformation skipped. >> > 2021-04-22 12:21:47,260 WARN >> [resource.wrapper.LibvirtStartCommandWrapper] >> > (agentRequest-Handler-4:null) (logid:1a2bdac6) LibvirtException >> > org.libvirt.LibvirtException: Failed to activate service >> > 'org.freedesktop.machine1': timed out >> > at org.libvirt.ErrorHandler.processError(Unknown Source) >> > at org.libvirt.Connect.processError(Unknown Source) >> > at org.libvirt.Connect.processError(Unknown Source) >> > at org.libvirt.Connect.domainCreateXML(Unknown Source) >> > at >> > >> > >> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1611) >> > at >> > >> > >> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:85) >> > at >> > >> > >> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:45) >> > at >> > >> > >> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78) >> > at >> > >> > >> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1643) >> > at com.cloud.agent.Agent.processRequest(Agent.java:661) >> > at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079) >> > at com.cloud.utils.nio.Task.call(Task.java:83) >> > at com.cloud.utils.nio.Task.call(Task.java:29) >> > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) >> > at >> > >> > >> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >> > at >> > >> > >> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >> > at java.base/java.lang.Thread.run(Thread.java:834) >> > >> > >> > Please help me. >> > >> > Thanks >> > >> >