DaanHoogland commented on PR #11766: URL: https://github.com/apache/cloudstack/pull/11766#issuecomment-3386122479
@CodeBleu this is why I added the last image to https://github.com/apache/cloudstack/pull/11766#issuecomment-3384504354. It has the correct format, and no spaces. When I create a new rule with "1.1.1.1/32,2.2.2.0/24,3.3.0.0/16”, all is fine. When I want to edit it it fails. I do not think this is last bit is a UI issue. ``` 2025-10-09 14:15:42,509 DEBUG [c.c.a.t.Request] (API-Job-Executor-68:[ctx-80f235f2, job-79, ctx-d0c6c84b]) (logid:207b8cee) Seq 2-4503599627377228: Sending { Cmd , MgmtId: 32986590347802, via: 2(pr11766-t14586-kvm- ol8-kvm2), Ver: v1, Flags: 100001, [{"com.cloud.agent.api.routing.LoadBalancerConfigCommand":{"loadBalancers":[{"uuid":"81e9da8d-2cbd-49ad-aa6a-fdfe3ca95b06","srcIp":"10.0.61.84","srcPort":"80","protocol":"tcp","lbP rotocol":"tcp","algorithm":"roundrobin","revoked":"false","alreadyAdded":"false","inline":"false","destinations":[],"cidrList":"1.2.3.4/32"},{"uuid":"f52aebc4-5957-4285-83e2-97c5037165ca","srcIp":"10.0.61.100","srcP ort":"80","protocol":"tcp","lbProtocol":"tcp","algorithm":"roundrobin","revoked":"false","alreadyAdded":"false","inline":"false","destinations":[{"destIp":"10.1.1.125","destPort":"80","revoked":"false","alreadyAdded ":"false"},{"destIp":"10.1.1.177","destPort":"80","revoked":"false","alreadyAdded":"false"}],"cidrList":"1.1.1.1/32,2.2.2.0/24,3.3.0.0/16"}],"lbStatsVisibility":"global","lbStatsPublicIP":"10.0.61.84","lbStatsPrivat eIP":"169.254.238.242","lbStatsGuestIP":"10.1.1.1","lbStatsPort":"8081","lbStatsSrcCidrs":"0/0","lbStatsAuth":"admin1:AdMiN123","lbStatsUri":"/admin?stats","maxconn":"4096","keepAliveEnabled":"false","nic":{"deviceI d":"0","networkRateMbps":"200","defaultNic":"false","pxeDisable":"true","nicUuid":"e4587ab1-c0a7-42ff-b13d-1743ae38a37a","details":{"MacAddressChanges":"true","ForgedTransmits":"true","PromiscuousMode":"false","MacL earning":"false"},"dpdkEnabled":"false","networkId":"204","networkSegmentName":"D1-A2-Z1-S204","uuid":"43d8a429-9f3f-4575-a4c5-facd0004a920","ip":"10.1.1.1","netmask":"255.255.255.0","mac":"02:01:00:cc:00:02","broad castType":"Vlan","type":"Guest","broadcastUri":"vlan://3272","isolationUri":"vlan://3272","securityGroupEnabled":"false","name":"cloudbr1"},"accessDetails":{"router.name":"r-5-VM","router.guest.ip":"10.1.1.1","route r.ip":"169.254.238.242","zone.network.type":"Advanced"},"wait":"0","bypassHostMaintenance":"false"}}] } ``` and then later ``` 2025-10-09 14:15:43,299 DEBUG [c.c.a.t.Request] (AgentManager-Handler-19:[]) (logid:) Seq 2-4503599627377228: Processing: { Ans: , MgmtId: 32986590347802, via: 2, Ver: v1, Flags: 0, [{"com.cloud.agent.api.routing.G roupAnswer":{"results":["null - success: Creating file in VR, with ip: 169.254.238.242, file: load_balancer.json.4a6afb57-0f81-45e7-9bf5-aff59523da88","null - failed: java.io.IOException: Stream closed at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:168) at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:334) at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:287) at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:330) at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:190) at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177) at java.base/java.io.BufferedReader.fill(BufferedReader.java:162) at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329) at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396) at com.cloud.utils.script.OutputInterpreter.processError(OutputInterpreter.java:41) at com.cloud.utils.script.Script.execute(Script.java:305) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeInVR(LibvirtComputingResource.java:632) at com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfigToVR(VirtualRoutingResource.java:315) at com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.applyConfig(VirtualRoutingResource.java:330) at com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.executeRequest(VirtualRoutingResource.java:170) at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtNetworkElementCommandWrapper.execute(LibvirtNetworkElementCommandWrapper.java:35) at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtNetworkElementCommandWrapper.execute(LibvirtNetworkElementCommandWrapper.java:29) at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:2254) at com.cloud.agent.Agent.processRequest(Agent.java:813) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1295) 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:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) "],"result":"false","wait":"0","bypassHostMaintenance":"false"}}] } ``` while after that I can still create a rule on this VR, just fine. I think we hit an different but related bug on the VR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
