Hi Sai, It looks like the Virtual router that is responsible for the network is not reachable or is not up, you could Restart the network with Clean up option and then try to deploy the VM again, it should help this time.
Thanks & Regards Nischal On Mon, May 19, 2025 at 2:49 AM sai <sai.kr...@gmail.com> wrote: > Hi All, > > I am unable to launch vm in 4.19 KVM environment and I am unable to figure > it out what is happening. can anyone please help me on how to debug further > I am attaching the logs. > > WARN [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-1:ctx-45e0fc9a > job-15086/job-15087 ctx-9f69223c) (logid:91aabb82) Unable to contact > resource. > > com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] > is unreachable: Unable to apply dhcp entry on router > > at > > org.apache.cloudstack.network.topology.BasicNetworkTopology.applyRules(BasicNetworkTopology.java:402) > > at > > org.apache.cloudstack.network.topology.AdvancedNetworkTopology.applyDhcpEntry(AdvancedNetworkTopology.java:172) > > at > > com.cloud.network.element.VirtualRouterElement.applyDhcpEntries(VirtualRouterElement.java:1080) > > at > > com.cloud.network.element.VirtualRouterElement.addDhcpEntry(VirtualRouterElement.java:1048) > > at > > org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepareElement(NetworkOrchestrator.java:1780) > > at > > org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepareNic(NetworkOrchestrator.java:2138) > > at > > org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.prepare(NetworkOrchestrator.java:2065) > > at com.cloud.vm.VirtualMachineManagerImpl > > > DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:null) (logid:) Seq > 19-9026621028456345: Processing: { Ans: , MgmtId: 3450513456, via: 19, Ver: > v1, Flags: 10, > [{"com.cloud.agent.api.routing.GroupAnswer":{"results":["null - success: > Creating file in VR, with ip: 169.254.3.127, file: > vm_dhcp_entry.json.ab381cdc-4564-4203-b770-5a39c456","null - failed: > java.io.IOException: Stream closed > > at > java.base/java.io > .BufferedInputStream.getBufIfOpen(BufferedInputStream.java:176) > > at java.base/java.io > .BufferedInputStream.read(BufferedInputStream.java:342) > > at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:295) > > at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:337) > > at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179) > > at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181) > > > Thanks in advance. > > Regards, > > sai >