GitHub user KuasarCloud added a comment to the discussion: Recurring error in 
the VR Router in ACS 4.20.1

 I found these logs of interest

## Managment Server
2025-08-04 10:00:24,384 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-156:[ctx-fde8a59c, job-51130/job-51134, ctx-9d394f89]) 
(logid:53cb0025) STATS: Failed to alloc resource from host: Host 
{"id":2,"name":"xxxxxxx","type":"Routing","uuid":"ba87d8ff-21e0-4f20-8bda-b8fa76453a1c"}
 reservedCpu: 0, requested cpu: 4798, reservedMem: (0 bytes) 0, requested mem: 
(4.00 GB) 4294967296

Asking VpcVirtualRouter to prepare for Nic 
{"broadcastUri":"vxlan:\/\/960420","deviceId":0,"iPv4Address":"192.168.30.186","id":1756,"instanceId":506,"reservationId":"db40ff1f-f894-4b08-9842-2c47f59eceb5","uuid":"86263642-87eb-4e96-8a6f-2ad023888c1e"}

2025-08-04 10:00:24,587 DEBUG [o.a.c.n.t.BasicNetworkTopology] 
(Work-Job-Executor-156:[ctx-fde8a59c, job-51130/job-51134, ctx-9d394f89]) 
(logid:53cb0025) APPLYING VPC DHCP ENTRY RULES
2025-08-04 10:00:24,588 DEBUG [o.a.c.n.t.BasicNetworkTopology] 
(Work-Job-Executor-156:[ctx-fde8a59c, job-51130/job-51134, ctx-9d394f89]) 
(logid:53cb0025) Applying dhcp entry in network Network {"id": 264, "name": 
"xxxxxxx", "uuid": "c974093f-34c6-4b95-b80e-a67df8dd5a91", "networkofferingid": 
47}
2025-08-04 10:00:24,605 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
(Work-Job-Executor-156:[ctx-fde8a59c, job-51130/job-51134, ctx-9d394f89]) 
(logid:53cb0025) Wait time setting on 
com.cloud.agent.api.routing.DhcpEntryCommand is 1800 seconds

2025-08-04 10:00:25,245 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-156:[ctx-fde8a59c, job-51130/job-51134, ctx-9d394f89]) 
(logid:53cb0025) Seq 2-3132816490792665521: Received:  { Ans: , MgmtId: 
2199211933721, via: 2(xxxxxxx), Ver: v1, Flags: 10, { GroupAnswer } }
2025-08-04 10:00:25,245 WARN  [c.c.v.ClusteredVirtualMachineManagerImpl] 
(Work-Job-Executor-156:[ctx-fde8a59c, job-51130/job-51134, ctx-9d394f89]) 
(logid:53cb0025) Unable to contact resource. 
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:2] is 
unreachable: Unable to apply dhcp entry on router

## Agent

2025-08-04 10:00:22,682 INFO  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-1:[]) (logid:) No existing libvirtd connection found. 
Opening a new one
2025-08-04 10:00:22,683 WARN  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-1:[]) (logid:) Can not find a connection for Instance 
i-122-506-VM. Assuming the default connection.
2025-08-04 10:00:22,777 INFO  [resource.virtualnetwork.VirtualRoutingResource] 
(AgentRequest-Handler-2:[]) (logid:) Fetching health check result for 
169.254.242.36 and executing fresh checks: false
2025-08-04 10:00:22,863 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-1:[]) (logid:) Groovy script 
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. 
Transformations will not be applied.
2025-08-04 10:00:22,863 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-1:[]) (logid:) Groovy scripting engine is not 
initialized. Data transformation skipped.
2025-08-04 10:00:23,395 INFO  [resource.virtualnetwork.VirtualRoutingResource] 
(AgentRequest-Handler-3:[]) (logid:) Fetching health check result for 
169.254.195.247 and executing fresh checks: false
2025-08-04 10:00:23,884 INFO  [resource.virtualnetwork.VirtualRoutingResource] 
(AgentRequest-Handler-4:[]) (logid:) Fetching health check result for 
169.254.238.34 and executing fresh checks: false
2025-08-04 10:00:24,528 INFO  [resource.virtualnetwork.VirtualRoutingResource] 
(AgentRequest-Handler-5:[]) (logid:) Fetching health check result for 
169.254.167.221 and executing fresh checks: false
2025-08-04 10:00:25,203 WARN  [kvm.resource.LibvirtComputingResource] 
(AgentRequest-Handler-1:[]) (logid:) Execution of process [2919709] for command 
[/usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh 
update_config.py 169.254.238.34 
vm_dhcp_entry.json.49974b02-1631-4db7-baa4-82afdbef3b5a ] failed.
2025-08-04 10:00:25,203 WARN  [kvm.resource.LibvirtComputingResource] 
(AgentRequest-Handler-1:[]) (logid:) Exception [Stream closed] occurred when 
attempting to run command 
[/usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh 
update_config.py 169.254.238.34 
vm_dhcp_entry.json.49974b02-1631-4db7-baa4-82afdbef3b5a ]. java.io.IOException: 
Stream closed

GitHub link: 
https://github.com/apache/cloudstack/discussions/11240#discussioncomment-13990730

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to