kiranchavala commented on issue #12411:
URL: https://github.com/apache/cloudstack/issues/12411#issuecomment-3744245621

   Thanks @yadvr 
   
   Able to reproduce the issue if both control plane (mgmt server) and KVM host 
are down at the same time.
   
   When the mgmt server and kvm host comes up later, the ha enabled vm and 
router says its running on kvm host but there is no vm running on the host ( 
virsh list --all)  
   
   Agent log 
   
   ```
   2026-01-13 13:04:35,239 WARN  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:f3f12b6e) Can not find a connection for 
Instance r-154-VM. Assuming the default connection.
   2026-01-13 13:04:35,239 WARN  
[resource.wrapper.LibvirtGetVmStatsCommandWrapper] (AgentRequest-Handler-2:[]) 
(logid:f3f12b6e) Can't get vm stats: org.libvirt.LibvirtException: Domain not 
found: no domain with matching name 'r-154-VM', continue
   2026-01-13 13:04:35,240 INFO  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:f3f12b6e) No existing libvirtd connection 
found. Opening a new one
   2026-01-13 13:04:35,240 WARN  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:f3f12b6e) Can not find a connection for 
Instance r-104-VM. Assuming the default connection.
   2026-01-13 13:04:35,240 WARN  
[resource.wrapper.LibvirtGetVmStatsCommandWrapper] (AgentRequest-Handler-2:[]) 
(logid:f3f12b6e) Can't get vm stats: org.libvirt.LibvirtException: Domain not 
found: no domain with matching name 'r-104-VM', continue
   2026-01-13 13:04:35,241 INFO  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:f3f12b6e) No existing libvirtd connection 
found. Opening a new one
   2026-01-13 13:04:35,241 WARN  [kvm.resource.LibvirtConnection] 
(AgentRequest-Handler-2:[]) (logid:f3f12b6e) Can not find a connection for 
Instance i-2-155-VM. Assuming the default connection.
   
   ```


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