gw769 commented on issue #11905:
URL: https://github.com/apache/cloudstack/issues/11905#issuecomment-3472740343

   > Could I have just the normal cloudstack agent logs, also the node76 log 
can't be downloaded. But I already have something interesting:
   > 
   > ```
   > 2025-10-31 09:50:02,034 DEBUG [c.c.a.t.Request] 
(AgentManager-Handler-12:[]) (logid:) Seq 9-31243722414883234: Processing:  { 
Ans: , MgmtId: 200229881867143, via: 9, Ver: v1, Flags: 110, 
[{"com.cloud.agent.api.Answer":{"result":"false","details":"java.lang.NullPointerException:
 Cannot invoke "com.cloud.hypervisor.kvm.storage.KVMStoragePool.getUuid()" 
because "pool" is null
   >    at 
com.cloud.hypervisor.kvm.storage.LinstorStorageAdaptor.connectPhysicalDisk(LinstorStorageAdaptor.java:311)
   >    at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.connectPhysicalDisk(KVMStoragePoolManager.java:164)
   >    at 
com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyTemplateToPrimaryStorage(KVMStorageProcessor.java:285)
   >    at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:103)
   >    at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:65)
   >    at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:36)
   >    at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:30)
   >    at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
   >    at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1958)
   >    at com.cloud.agent.Agent.processRequest(Agent.java:779)
   >    at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1194)
   >    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:317)
   >    at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
   >    at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
   >    at java.base/java.lang.Thread.run(Thread.java:1583)
   > ","wait":"0","bypassHostMaintenance":"false"}}] }
   > ```
   Sorry for the confusion! It should be the node83 log instead of node76 log.
   
   Since the instance i-2-627-vm has no hard disk, the cloudstack-agent.log 
only contains 4 lines as follows:
   ```
   2025-10-31 09:50:03,559 INFO  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:) No existing libvirtd connection found. 
Opening a new one
   2025-10-31 09:50:03,563 WARN  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:) Can not find a connection for Instance 
i-2-647-VM. Assuming the default connection.
   2025-10-31 09:50:04,290 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-2:[]) (logid:) Groovy script 
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available. 
Transformations will not be applied.
   2025-10-31 09:50:04,290 WARN  [kvm.resource.LibvirtKvmAgentHook] 
(AgentRequest-Handler-2:[]) (logid:) Groovy scripting engine is not 
initialized. Data transformation skipped.
   ```
   
   
[NODE83-agent_trace.log](https://github.com/user-attachments/files/23261376/NODE83-agent_trace.log)
   


-- 
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]

Reply via email to