Hello,
Any idea how to get rid of this error? I try to provision security keys for this kvm host, but I end with this error : This is a new setup, with 4.18.1.0 on ubuntu 22.04, 1x host for management and 1x KVM host. 2024-03-29 16:16:19,879 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null) (logid:0c5006ba) Asking libvirt to refresh storage pool 552ecff0-1806-407d-8db6-f1c9da18c971 ^C root@hv-001:/etc/cloudstack/agent# nano agent.properties root@hv-001:/etc/cloudstack/agent# systemctl restart cloudstack-agent root@hv-001:/etc/cloudstack/agent# tail -f /var/log/cloudstack/agent/agent.log 2024-03-29 16:17:56,744 INFO [cloud.agent.Agent] (Agent-Handler-2:null) (logid:) Process agent startup answer, agent id = 0 2024-03-29 16:17:56,745 INFO [cloud.agent.Agent] (Agent-Handler-2:null) (logid:) Set agent id 0 2024-03-29 16:17:56,750 INFO [cloud.agent.Agent] (Agent-Handler-2:null) (logid:) Startup Response Received: agent id = 0 2024-03-29 16:17:56,965 INFO [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:5d6aaa47) Processing agent ready command, agent id = 1 2024-03-29 16:17:56,965 INFO [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:5d6aaa47) Set agent id 1 2024-03-29 16:17:56,965 INFO [cloud.agent.Agent] (agentRequest-Handler-3:null) (logid:5d6aaa47) Ready command is processed for agent id = 1 2024-03-29 16:17:57,085 INFO [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:5d6aaa47) Processing agent ready command, agent id = 1 2024-03-29 16:17:57,086 INFO [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:5d6aaa47) Set agent id 1 2024-03-29 16:17:57,088 INFO [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:5d6aaa47) Processed new management server list: 51.xxx.xxx.69,10.111.0.1@static 2024-03-29 16:17:57,088 INFO [cloud.agent.Agent] (agentRequest-Handler-5:null) (logid:5d6aaa47) Ready command is processed for agent id = 1 2024-03-29 16:18:20,157 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:4be26651) Trying to fetch storage pool 552ecff0-1806-407d-8db6-f1c9da18c971 from libvirt 2024-03-29 16:18:20,181 INFO [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-2:null) (logid:4be26651) Asking libvirt to refresh storage pool 552ecff0-1806-407d-8db6-f1c9da18c971 2024-03-29 16:18:43,714 INFO [resource.wrapper.LibvirtPostCertificateRenewalCommandWrapper] (Certificate Renewal Timer:null) (logid:7f9421ae) Restarting libvirt after certificate provisioning/renewal 2024-03-29 16:18:43,729 INFO [cloud.agent.Agent] (AgentShutdownThread:null) (logid:) Stopping the agent: Reason = sig.kill 2024-03-29 16:18:43,730 WARN [cloud.agent.Agent] (Certificate Renewal Timer:null) (logid:7f9421ae) 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:244) at com.cloud.agent.Agent$PostCertificateRenewalTask.runInContext(Agent.java:115 6) at org.apache.cloudstack.managed.context.ManagedContextTimerTask$1.runInContext (ManagedContextTimerTask.java:30) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo ntextRunnable.java:48) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa ultManagedContext.java:55) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon text(DefaultManagedContext.java:102) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCont ext(DefaultManagedContext.java:52) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCont extRunnable.java:45) at org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedCon textTimerTask.java:32) at java.base/java.util.TimerThread.mainLoop(Timer.java:556) at java.base/java.util.TimerThread.run(Timer.java:506) 2024-03-29 16:18:45,061 INFO [cloud.agent.AgentShell] (main:null) (logid:) Agent started 2024-03-29 16:18:45,063 INFO [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.18.1.0 2024-03-29 16:18:45,064 INFO [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties 2024-03-29 16:18:45,091 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage 2024-03-29 16:18:45,092 INFO [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm 2024-03-29 16:18:45,121 INFO [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml 2024-03-29 16:18:45,121 INFO [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection 2024-03-29 16:18:45,173 INFO [cloud.agent.Agent] (main:null) (logid:) id is 1 2024-03-29 16:18:45,180 ERROR [kvm.resource.LibvirtComputingResource] (main:null) (logid:) uefi properties file not found due to: Unable to find file uefi.properties. 2024-03-29 16:18:45,209 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) Failed to find passphrase for keystore: cloud.jks 2024-03-29 16:18:45,212 INFO [kvm.resource.LibvirtConnection] (main:null) (logid:) No existing libvirtd connection found. Opening a new one I have tried to delete cloud.* and reconnect + provision again, same error. Any suggestions? Thank you. Cristian