You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Edward Valencia <ed...@redapt.com> on 2013/08/19 23:19:05 UTC

CS 4.1.1 SSVM error

Hi All, 

The following error keeps showing up on my ssvm instance, I've set the api port in global settings to 8250, restarted the management service and still see this error:

root@s-21-VM:/var/log/cloud# tail -f /var/log/cloud/cloud.out
21:09:23,162 ERROR NioConnection:113 - Unable to initialize the threads.
java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
at java.lang.Thread.run(Thread.java:662)
21:09:28,173 ERROR NioConnection:113 - Unable to initialize the threads.
java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
at java.lang.Thread.run(Thread.java:662)


root@s-21-VM:/var/log/cloud# netstat -an | grep 8250
tcp 0 0 10.1.131.21:46352 10.1.130.10:8250 CLOSE_WAIT
tcp 0 0 10.1.131.21:46305 10.1.130.10:8250 CLOSE_WAIT
tcp 0 0 10.1.131.21:46311 10.1.130.10:8250 CLOSE_WAIT




root@s-21-VM:/var/log/cloud# telnet 10.1.130.10 8250
Trying 10.1.130.10...
Connected to 10.1.130.10.
Escape character is '^]'.




Im showing that the SSVM attempts to connect to the management server but as the error states there isn't a SSL certificate or https configured on the management server. The management server is using the non-ssl configuration files for tomcat.conf and sever.xml and nothing was nothing in the documentation about which file to use. 

Any Ideas?




Re: CS 4.1.1 SSVM error

Posted by Edward Valencia <ed...@redapt.com>.
Thats for that link to the bug, Ive changed the paths on both configuration files(server and tomcat) for the keystone, even created my own keystore,  and I still see the issue with the SSVM not being able to communicate to the management server with SSL. Do we have a valid fix in place? 



On Monday, August 19, 2013 at 3:46 PM, Chiradeep Vittal wrote:

> Seems to be a known issue
> https://issues.apache.org/jira/browse/CLOUDSTACK-2024
> 
> 
> On 8/19/13 3:28 PM, "Edward Valencia" <edwardv@redapt.com (mailto:edwardv@redapt.com)> wrote:
> 
> > When you run cloudstack-setup-management
> > it creates this:
> > 
> > [root@cstack-411 management]# cloudstack-setup-management --https
> > 
> > lrwxrwxrwx. 1 root root 44 Aug 19 22:22 server.xml ->
> > /etc/cloudstack/management/server-nonssl.xml
> > lrwxrwxrwx. 1 root root 46 Aug 19 22:22 tomcat6.conf ->
> > /etc/cloudstack/management/tomcat6-nonssl.conf
> > 
> > 
> > 
> > 
> > 
> > restarted the management server but the logs still show this on the SSVM:
> > 
> > 22:25:31,758 ERROR NioConnection:113 - Unable to initialize the threads.
> > java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException:
> > Unrecognized SSL message, plaintext connection?
> > at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
> > at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
> > at java.lang.Thread.run(Thread.java:662)
> > 
> > 
> > 
> > 
> > 
> > On Monday, August 19, 2013 at 3:09 PM, Chiradeep Vittal wrote:
> > 
> > > cloudstack-setup-management 



Re: CS 4.1.1 SSVM error

Posted by Chiradeep Vittal <Ch...@citrix.com>.
Seems to be a known issue
https://issues.apache.org/jira/browse/CLOUDSTACK-2024


On 8/19/13 3:28 PM, "Edward Valencia" <ed...@redapt.com> wrote:

>When you run cloudstack-setup-management
>  it creates this:
>
>[root@cstack-411 management]# cloudstack-setup-management --https
>
>lrwxrwxrwx. 1 root root 44 Aug 19 22:22 server.xml ->
>/etc/cloudstack/management/server-nonssl.xml
>lrwxrwxrwx. 1 root root 46 Aug 19 22:22 tomcat6.conf ->
>/etc/cloudstack/management/tomcat6-nonssl.conf
>
>
>
>
>
>restarted the management server but the logs still show this on the SSVM:
>
>22:25:31,758 ERROR NioConnection:113 - Unable to initialize the threads.
>java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException:
>Unrecognized SSL message, plaintext connection?
>at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
>at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
>at java.lang.Thread.run(Thread.java:662)
>
>
>
>
>
>On Monday, August 19, 2013 at 3:09 PM, Chiradeep Vittal wrote:
>
>> cloudstack-setup-management
>
>
>


Re: CS 4.1.1 SSVM error

Posted by Edward Valencia <ed...@redapt.com>.
When you run cloudstack-setup-management
  it creates this: 

[root@cstack-411 management]# cloudstack-setup-management --https

lrwxrwxrwx. 1 root root 44 Aug 19 22:22 server.xml -> /etc/cloudstack/management/server-nonssl.xml
lrwxrwxrwx. 1 root root 46 Aug 19 22:22 tomcat6.conf -> /etc/cloudstack/management/tomcat6-nonssl.conf





restarted the management server but the logs still show this on the SSVM:

22:25:31,758 ERROR NioConnection:113 - Unable to initialize the threads.
java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
at java.lang.Thread.run(Thread.java:662)





On Monday, August 19, 2013 at 3:09 PM, Chiradeep Vittal wrote:

> cloudstack-setup-management




Re: CS 4.1.1 SSVM error

Posted by Chiradeep Vittal <Ch...@citrix.com>.
Isn't there a /etc/cloudstack/management/tomcat6-ssl.conf ? I think
cloudstack-setup-management creates a symlink to this one.

On 8/19/13 2:19 PM, "Edward Valencia" <ed...@redapt.com> wrote:

>Hi All, 
>
>The following error keeps showing up on my ssvm instance, I've set the
>api port in global settings to 8250, restarted the management service and
>still see this error:
>
>root@s-21-VM:/var/log/cloud# tail -f /var/log/cloud/cloud.out
>21:09:23,162 ERROR NioConnection:113 - Unable to initialize the threads.
>java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException:
>Unrecognized SSL message, plaintext connection?
>at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
>at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
>at java.lang.Thread.run(Thread.java:662)
>21:09:28,173 ERROR NioConnection:113 - Unable to initialize the threads.
>java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException:
>Unrecognized SSL message, plaintext connection?
>at com.cloud.utils.nio.NioClient.init(NioClient.java:83)
>at com.cloud.utils.nio.NioConnection.run(NioConnection.java:108)
>at java.lang.Thread.run(Thread.java:662)
>
>
>root@s-21-VM:/var/log/cloud# netstat -an | grep 8250
>tcp 0 0 10.1.131.21:46352 10.1.130.10:8250 CLOSE_WAIT
>tcp 0 0 10.1.131.21:46305 10.1.130.10:8250 CLOSE_WAIT
>tcp 0 0 10.1.131.21:46311 10.1.130.10:8250 CLOSE_WAIT
>
>
>
>
>root@s-21-VM:/var/log/cloud# telnet 10.1.130.10 8250
>Trying 10.1.130.10...
>Connected to 10.1.130.10.
>Escape character is '^]'.
>
>
>
>
>Im showing that the SSVM attempts to connect to the management server but
>as the error states there isn't a SSL certificate or https configured on
>the management server. The management server is using the non-ssl
>configuration files for tomcat.conf and sever.xml and nothing was nothing
>in the documentation about which file to use.
>
>Any Ideas?
>
>
>