jmsperu commented on PR #14151:
URL: https://github.com/apache/cloudstack/pull/14151#issuecomment-7112276702

   Tested on 4.22.1.1, Ubuntu 24.04, QEMU 8.2.2, hosts with vnc_tls=1. The PR 
needs a trivial conflict fix in LibvirtComputingResource.java to apply on 4.22.
   
   Method: `provisionCertificate hostid=<host> reconnect=true` with a VM 
running, then read the certificate the VM's VNC port actually presents 
(VeNCrypt handshake) and compare its serial with 
/etc/pki/libvirt/servercert.pem.
   
   - Without the PR: the file on disk gets the new serial, the running VM keeps 
presenting the old one.
   - With the PR: the running VM presents the new serial right after the 
renewal, on two renewals in a row, including a VM that was started before the 
patched agent was loaded.
   
   LGTM. Unrelated to the PR: after renewal with reconnect=true the agent logs 
"sudo service libvirtd restart failed" and "IllegalStateException: Shutdown in 
progress"; this happens without the PR too.
   


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