GitHub user nlindblo added a comment to the discussion: Unable to provision keys
I have now done a fresh install of 4.20.1 using Ubuntu 24.04 with a new database, but I am still experiencing the same issue with not being able to provision the host security keys, due to libvirtd restart is failing. I can execute ````sudo service libvirtd restart```` manually without problem. Is this a known issue or am I missing some configuration ? Some help would be appreciated 3fa4b7a550, name: cloudstack2] 2025-07-29 10:57:51,199 INFO [resource.wrapper.LibvirtPostCertificateRenewalCommandWrapper] (CertificateRenewalTask-1:[]) (logid:) Restarting libvirt after certificate provisioning/renewal 2025-07-29 10:57:51,213 INFO [cloud.agent.Agent] (AgentShutdownThread:[]) (logid:) Stopping the agent: Reason = sig.kill 2025-07-29 10:57:51,214 WARN [resource.wrapper.LibvirtPostCertificateRenewalCommandWrapper] (CertificateRenewalTask-1:[]) (logid:) Execution of process [11120] for command [sudo service libvirtd restart ] failed. 2025-07-29 10:57:51,214 WARN [resource.wrapper.LibvirtPostCertificateRenewalCommandWrapper] (CertificateRenewalTask-1:[]) (logid:) Process [11120] for command [sudo service libvirtd restart ] encountered the error: []. 2025-07-29 10:57:51,216 WARN [cloud.agent.Agent] (CertificateRenewalTask-1:[]) (logid:) Failed to execute post certificate renewal command: java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82) at java.base/java.lang.Runtime.removeShutdownHook(Runtime.java:245) at com.cloud.agent.Agent$PostCertificateRenewalTask.runInContext(Agent.java:1268) at org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext(ManagedContextTimerTask.java:30) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:32) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) GitHub link: https://github.com/apache/cloudstack/discussions/11304#discussioncomment-13921326 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org