shwstppr commented on PR #10773:
URL: https://github.com/apache/cloudstack/pull/10773#issuecomment-2869619214

   An unrelated, weird exception failed the test,
   ```
   2025-05-10 11:42:27,682 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Host does not have enough reserved CPU available, cannot 
allocate to this host.
   2025-05-10 11:42:27,682 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Checking if host: Host 
{"id":1,"name":"pr10773-t13253-kvm-ol8-kvm1","type":"Routing","uuid":"8a91c98f-44c0-4de8-9ecd-0b939865d323"}
 has enough capacity for requested CPU: 100 and requested RAM: (256.00 MB) 
268435456 , cpuOverprovisioningFactor: 2.0
   2025-05-10 11:42:27,683 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Hosts's actual total CPU: 6300 and CPU after applying 
overprovisioning: 12600
   2025-05-10 11:42:27,683 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Free CPU: 11600 , Requested CPU: 100
   2025-05-10 11:42:27,683 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Free RAM: (5.26 GB) 5648531456 , Requested RAM: (256.00 MB) 
268435456
   2025-05-10 11:42:27,683 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Host has enough CPU and RAM available
   2025-05-10 11:42:27,683 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) STATS: Can alloc CPU from host: Host 
{"id":1,"name":"pr10773-t13253-kvm-ol8-kvm1","type":"Routing","uuid":"8a91c98f-44c0-4de8-9ecd-0b939865d323"},
 used: 1000, reserved: 0, actual total: 6300, total with overprovisioning: 
12600; requested cpu: 100, alloc_from_last_host?: false, 
considerReservedCapacity?: true
   2025-05-10 11:42:27,683 DEBUG [c.c.c.CapacityManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) STATS: Can alloc MEM from host: Host 
{"id":1,"name":"pr10773-t13253-kvm-ol8-kvm1","type":"Routing","uuid":"8a91c98f-44c0-4de8-9ecd-0b939865d323"},
 used: (1.50 GB) 1610612736, reserved: (0 bytes) 0, total: (6.76 GB) 
7259144192; requested mem: (256.00 MB) 268435456, alloc_from_last_host?: false, 
considerReservedCapacity?: true
   2025-05-10 11:42:27,693 DEBUG [c.c.v.ClusteredVirtualMachineManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Cleaning up resources for the vm VM instance 
{"id":45,"instanceName":"i-2-45-VM","state":"Starting","type":"User","uuid":"166483d6-2e6e-4ce2-9b82-2636d3592147"}
 in Starting state
   2025-05-10 11:42:27,702 DEBUG [c.c.v.ClusteredVirtualMachineManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) VM instance 
{"id":45,"instanceName":"i-2-45-VM","state":"Starting","type":"User","uuid":"166483d6-2e6e-4ce2-9b82-2636d3592147"}
 is a [User], returning null for control Nic IP.
   2025-05-10 11:42:27,703 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Wait time setting on com.cloud.agent.api.StopCommand is 1800 
seconds
   2025-05-10 11:42:27,704 DEBUG [c.c.a.m.ClusteredAgentAttache] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Seq 4-1773855303230554692: Routed from 32987664089784
   2025-05-10 11:42:27,704 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Seq 1-1773855303230554692: Sending  { Cmd , MgmtId: 
32987664089784, via: 1(pr10773-t13253-kvm-ol8-kvm1), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.StopCommand":{"isProxy":"false","checkBeforeCleanup":"false","forceStop":"false","volumesToDisconnect":[],"vmName":"i-2-45-VM","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}]
 }
   2025-05-10 11:42:27,750 DEBUG [o.a.c.h.H.HAManagerBgPollTask] 
(BackgroundTaskPollManager-4:[ctx-0ef90b21]) (logid:30023ce3) HA health check 
task is running...
   2025-05-10 11:42:27,977 DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:[]) 
(logid:) Seq 1-1773855303230554692: Processing:  { Ans: , MgmtId: 
32987664089784, via: 1, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.StopAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
 }
   2025-05-10 11:42:27,977 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Seq 1-1773855303230554692: Received:  { Ans: , MgmtId: 
32987664089784, via: 1(pr10773-t13253-kvm-ol8-kvm1), Ver: v1, Flags: 10, { 
StopAnswer } }
   2025-05-10 11:42:27,985 WARN  [c.c.v.ClusteredVirtualMachineManagerImpl] 
(Work-Job-Executor-146:[ctx-34767c04, job-458/job-461, ctx-84b3b693]) 
(logid:bf45ed95) Unable to release some network resources for the VM VM 
instance 
{"id":45,"instanceName":"i-2-45-VM","state":"Starting","type":"User","uuid":"166483d6-2e6e-4ce2-9b82-2636d3592147"}
 in Starting state java.lang.NullPointerException: Cannot invoke 
"com.cloud.network.dao.NetworkVO.getId()" because "vmNetwork" is null
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.releaseNic(NetworkOrchestrator.java:2490)
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.release(NetworkOrchestrator.java:2433)
           at 
com.cloud.vm.VirtualMachineManagerImpl.releaseVmResources(VirtualMachineManagerImpl.java:1983)
           at 
com.cloud.vm.VirtualMachineManagerImpl.cleanup(VirtualMachineManagerImpl.java:1973)
           at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1442)
           at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5473)
           at jdk.internal.reflect.GeneratedMethodAccessor710.invoke(Unknown 
Source)
           at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:569)
   ```
   Trying again
   @blueorangutan test


-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to