digitalgust commented on issue #3509: 4.12 add host fail ,using tls connection
URL: https://github.com/apache/cloudstack/issues/3509#issuecomment-514190521
 
 
   now , my host02 state is "alert"
   log :
   
   ```
   2019-07-23 08:13:50,629 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) Reconnecting to host:192.168.100.1
   2019-07-23 08:13:50,631 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) Connecting to 192.168.100.1:8250
   2019-07-23 08:13:50,633 INFO  [utils.nio.Link] (Agent Timer:null) (logid:) 
Conf file found: /etc/cloudstack/agent/agent.properties
   2019-07-23 08:13:50,811 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) SSL: Handshake done
   2019-07-23 08:13:50,812 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) Connected to 192.168.100.1:8250
   2019-07-23 08:13:50,859 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) (logid:) Attempting to create storage pool 
eb3a089f-eaec-45ce-bb97-a66d8d9df793 (Filesystem) in libvirt
   2019-07-23 08:13:50,860 ERROR [kvm.resource.LibvirtConnection] 
(Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid 
connection pointer in virConnectGetVersion
   2019-07-23 08:13:50,861 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) (logid:) Found existing defined storage pool 
eb3a089f-eaec-45ce-bb97-a66d8d9df793, using it.
   2019-07-23 08:13:50,862 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) (logid:) Trying to fetch storage pool 
eb3a089f-eaec-45ce-bb97-a66d8d9df793 from libvirt
   2019-07-23 08:13:55,812 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) Connected to the host: 192.168.100.1
   2019-07-23 08:19:56,739 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) The startup command is now cancelled
   2019-07-23 08:19:56,741 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) Lost connection to host: 192.168.100.1. Attempting reconnection while 
we still have 0 commands in progress.
   2019-07-23 08:19:56,743 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) NioClient connection closed
   2019-07-23 08:19:56,744 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) Reconnecting to host:192.168.100.1
   2019-07-23 08:19:56,745 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) Connecting to 192.168.100.1:8250
   2019-07-23 08:19:56,747 INFO  [utils.nio.Link] (Agent Timer:null) (logid:) 
Conf file found: /etc/cloudstack/agent/agent.properties
   2019-07-23 08:19:56,923 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) SSL: Handshake done
   2019-07-23 08:19:56,924 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) Connected to 192.168.100.1:8250
   2019-07-23 08:19:56,971 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) (logid:) Attempting to create storage pool 
eb3a089f-eaec-45ce-bb97-a66d8d9df793 (Filesystem) in libvirt
   2019-07-23 08:19:56,972 ERROR [kvm.resource.LibvirtConnection] 
(Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid 
connection pointer in virConnectGetVersion
   2019-07-23 08:19:56,973 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) (logid:) Found existing defined storage pool 
eb3a089f-eaec-45ce-bb97-a66d8d9df793, using it.
   2019-07-23 08:19:56,973 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) (logid:) Trying to fetch storage pool 
eb3a089f-eaec-45ce-bb97-a66d8d9df793 from libvirt
   2019-07-23 08:20:01,924 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) Connected to the host: 192.168.100.1
   2019-07-23 08:25:57,607 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) The startup command is now cancelled
   2019-07-23 08:25:57,608 INFO  [cloud.agent.Agent] (Agent Timer:null) 
(logid:) Lost connection to host: 192.168.100.1. Attempting reconnection while 
we still have 0 commands in progress.
   2019-07-23 08:25:57,611 INFO  [utils.nio.NioClient] (Agent Timer:null) 
(logid:) NioClient connection closed
   
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to