Jason,

When I've seen this happen, it has often been related to a corrupt keystore.

Trying backing up your db and following this procedure to regenerate your 
keystore:


mysql> delete from configuration  where name = "ssl.keystore" ;

mv /etc/cloudstack/management/cloudmanagementserver.keystore 
/etc/cloudstack/management/cloudmanagementserver.keystore.old

service cloudstack-management restart

That should force the keystore to be regenerated.

- Si

________________________________
From: Jason Kinsella <ja...@cloudpeople.com.au>
Sent: Tuesday, May 23, 2017 7:11 AM
To: users@cloudstack.apache.org
Subject: SSVM NIO SSL Handshake error

Hi,
We recently upgraded from 4.5.0 to 4.9.2.0 and encountered a problem with the 
SSVM and Console Proxy. They cannot connect to the management server. The SSVM 
cloud.log repeats this error every couple of seconds.

2017-05-23 11:58:22,461 INFO  [utils.nio.NioClient] (main:null) Connecting to 
192.168.12.1:8250
2017-05-23 11:58:22,465 WARN  [utils.nio.Link] (main:null) This SSL engine was 
forced to close inbound due to end of stream.
2017-05-23 11:58:22,465 ERROR [utils.nio.Link] (main:null) Failed to send 
server's CLOSE message due to socket channel's failure.
2017-05-23 11:58:22,466 ERROR [utils.nio.NioClient] (main:null) SSL Handshake 
failed while connecting to host: 192.168.12.1 port: 8250
2017-05-23 11:58:22,466 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.io.IOException: SSL Handshake failed while connecting to host: 
192.168.12.1 port: 8250
Simon Weller
Director of Technology

Education Networks of America
618 Grassmere Park Dr, Ste 12
Nashville, TN 37211
Desk: 615-312-6068
Fax: 615-312-6099

website
blog
support

  


                at com.cloud.utils.nio.NioClient.init(NioClient.java:67)
                at 
com.cloud.utils.nio.NioConnection.start(NioConnection.java:88)
                at com.cloud.agent.Agent.start(Agent.java:237)
                at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:399)
                at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:367)
                at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:351)
                at com.cloud.agent.AgentShell.start(AgentShell.java:456)
                at com.cloud.agent.AgentShell.main(AgentShell.java:491)
2017-05-23 11:58:22,468 INFO  [utils.exception.CSExceptionErrorCode] 
(main:null) Could not find exception: 
com.cloud.utils.exception.NioConnectionException in error code list for 
exceptions
2017-05-23 11:58:22,468 WARN  [cloud.agent.Agent] (main:null) NIO Connection 
Exception  com.cloud.utils.exception.NioConnectionException: SSL Handshake 
failed while connecting to host: 192.168.12.1 port: 8250

The setup is very simple. Single management server and ports are open.

Things checked / tried:

·         Destroyed SSVM multiple times – still same problem.

·         SSH to SSVM from MS using ssh -i 
/var/cloudstack/management/.ssh/id_rsa -p 3922 root@IPADDRESS – PASS

·         SSVM telnet on 8250 to MS – PASS

I’ve also tested a restore of the DB into our working development 4.9.2.0 
server. It also exhibits the handshake errors, so most likely DB related.

I’ve used up all my skills. Please help

Regards,
Jason

Reply via email to