Hello I have a problem with my ACS 4.13.1
When restarting cloudstack-management it simply takes 1 hour for the agent to start. In the Agent Logs it appears as connected as soon as it starts. But on the host you get Alert. Has anyone been through this and know the solution? __________________________________________________________ KVM Host Information qemu qemu-kvm-common-1.5.3-173.el7_8.3.x86_64 qemu-kvm-1.5.3-173.el7_8.3.x86_64 qemu-img-1.5.3-173.el7_8.3.x86_64 libvirt libvirt-4.5.0-33.el7_8.1.x86_64 Java java-1.8.0 ________________________________________________________________ Logs Agent: 2020-06-23 09:40:56,591 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Reconnecting to host:172.26.0.209 2020-06-23 09:40:56,592 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) Connecting to 172.26.0.209:8250 2020-06-23 09:40:56,593 INFO [utils.nio.Link] (Agent Timer:null) (logid:) Conf file found: /etc/cloudstack/agent/agent.properties 2020-06-23 09:40:56,827 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) SSL: Handshake done 2020-06-23 09:40:56,827 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) Connected to 172.26.0.209:8250 2020-06-23 09:40:56,873 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Attempting to create storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5 (Filesystem) in libvirt 2020-06-23 09:40:56,873 ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion 2020-06-23 09:40:56,874 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Found existing defined storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5, using it. 2020-06-23 09:40:56,874 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Trying to fetch storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5 from libvirt 2020-06-23 09:41:01,828 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Connected to the host: 172.26.0.209 2020-06-23 09:46:56,897 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) The startup command is now cancelled 2020-06-23 09:46:56,897 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Lost connection to host: 172.26.0.209. Attempting reconnection while we still have 0 commands in progress. 2020-06-23 09:46:56,898 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) NioClient connection closed 2020-06-23 09:46:56,898 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Reconnecting to host:172.26.0.209 2020-06-23 09:46:56,898 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) Connecting to 172.26.0.209:8250 2020-06-23 09:46:56,899 INFO [utils.nio.Link] (Agent Timer:null) (logid:) Conf file found: /etc/cloudstack/agent/agent.properties 2020-06-23 09:46:57,107 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) SSL: Handshake done 2020-06-23 09:46:57,107 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) Connected to 172.26.0.209:8250 2020-06-23 09:46:57,151 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Attempting to create storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5 (Filesystem) in libvirt 2020-06-23 09:46:57,151 ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion 2020-06-23 09:46:57,152 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Found existing defined storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5, using it. 2020-06-23 09:46:57,152 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Trying to fetch storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5 from libvirt 2020-06-23 09:47:02,108 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Connected to the host: 172.26.0.209 2020-06-23 09:52:57,175 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) The startup command is now cancelled 2020-06-23 09:52:57,175 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Lost connection to host: 172.26.0.209. Attempting reconnection while we still have 0 commands in progress. 2020-06-23 09:52:57,176 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) NioClient connection closed 2020-06-23 09:52:57,176 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Reconnecting to host:172.26.0.209 2020-06-23 09:52:57,176 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) Connecting to 172.26.0.209:8250 2020-06-23 09:52:57,178 INFO [utils.nio.Link] (Agent Timer:null) (logid:) Conf file found: /etc/cloudstack/agent/agent.properties 2020-06-23 09:52:57,488 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) SSL: Handshake done 2020-06-23 09:52:57,488 INFO [utils.nio.NioClient] (Agent Timer:null) (logid:) Connected to 172.26.0.209:8250 2020-06-23 09:52:57,535 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Attempting to create storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5 (Filesystem) in libvirt 2020-06-23 09:52:57,539 ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion 2020-06-23 09:52:57,540 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Found existing defined storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5, using it. 2020-06-23 09:52:57,540 INFO [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Trying to fetch storage pool 1a26d75e-d63a-4255-961a-8878f526ffc5 from libvirt 2020-06-23 09:53:02,489 INFO [cloud.agent.Agent] (Agent Timer:null) (logid:) Connected to the host: 172.26.0.209
