Repository navigation
Replies: 2 comments
🏷️ Issue TriagedHi Reasoning: This issue seeks operational guidance on resolving an expired VNC certificate preventing VM startup in a production environment. View Triage DetailsAnalysis
Recommended Next Steps
References: Triage run §24141413094
|
|
@maic , a bit of a late reply, The VNC certs are symlinks to the libvirt host certs (keystore-cert-import links /etc/pki/libvirt-vnc/* to /etc/pki/libvirt/servercert.pem and friends). Renewing the host certificate fixes both: cmk provision certificate hostid= reconnect=true while the agent is still connected. If the agent is already down because of the expired cert, follow the manual steps in discussion #13576. Raise ca.framework.cert.validity.period first so it doesn't come back soon. You had probably already fixed this. Let me know if this ^ makes sense. |
Uh oh!
There was an error while loading. Please reload this page.
How to solve the problem encountered by several machines in the production environment? Can you provide specific operating steps? Thank you
Abnormal log information:
172.17.0.2:0,password,tls,x509verify=/etc/pki/libvirt-vnc: Failed to start VNC server: The server certificate /etc/pki/libvirt-vnc/server-cert.pem has expired
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.domainCreateXML(Unknown Source)
at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1821)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:104)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:49)
at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1853)
at com.cloud.agent.Agent.processRequest(Agent.java:662)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1082)
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:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
All reactions