cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Castro <luciano.cas...@gmail.com>
Subject CS 4.5.1.- Problem Adding first host to cluster XenServer 6.5
Date Tue, 06 Oct 2015 14:22:41 GMT
Hi All,

I´m installing a new cluster with Xenserver hosts, and I already added the
first xenserver host to XenCenter.

the problem is occuring when I try to add the host in CS.

The popup message is "unable to add the host", the logs shows me a SSL
issue:

2015-10-06 14:17:48,609 DEBUG [c.c.h.x.r.XenServerConnectionPool]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) Unable to create master
connection to host(10.253.118.181) , due to
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: server
certificate change is restrictedduring renegotiation
2015-10-06 14:17:48,609 DEBUG [c.c.h.x.d.XcpServerDiscoverer]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) other exceptions:
com.cloud.utils.exception.CloudRuntimeException: Unable to create master
connection to host(10.253.118.181) , due to
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: server
certificate change is restrictedduring renegotiation
com.cloud.utils.exception.CloudRuntimeException: Unable to create master
connection to host(10.253.118.181) , due to
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: server
certificate change is restrictedduring renegotiation
        at
com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool.getConnect(XenServerConnectionPool.java:173)
        at
com.cloud.hypervisor.xenserver.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:217)
        at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:742)
        at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy149.discoverHosts(Unknown Source)
        at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:704)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529)
        at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:284)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:120)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:117)
        at com.cloud.api.ApiServlet.doPost(ApiServlet.java:84)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.xmlrpc.XmlRpcException: Failed to read server's
response: server certificate change is restrictedduring renegotiation
        at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)
        at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
        at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
        at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
        at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
        at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
        at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
        at com.xensource.xenapi.Connection.dispatch(Connection.java:330)
        at com.xensource.xenapi.Session.loginWithPassword(Session.java:587)
        at
com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool.loginWithPassword(XenServerConnectionPool.java:327)
        at
com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool.getConnect(XenServerConnectionPool.java:159)
        ... 42 more
Caused by: javax.net.ssl.SSLHandshakeException: server certificate change
is restrictedduring renegotiation
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:269)
        at
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1409)
        at
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
        at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
        at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
        at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
        at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
        at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1092)
        at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
        at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.writeRequest(XmlRpcSunHttpTransport.java:104)
        at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
        ... 52 more
2015-10-06 14:17:48,609 WARN  [c.c.r.ResourceManagerImpl]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) Unable to find the server
resources at http://opencloud-xen01-mia.tpn.terra.com
2015-10-06 14:17:48,609 INFO  [c.c.u.e.CSExceptionErrorCode]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for exceptions
2015-10-06 14:17:48,609 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
        at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798)
        at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy149.discoverHosts(Unknown Source)
        at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:704)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:529)
        at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:284)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:120)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:117)
        at com.cloud.api.ApiServlet.doPost(ApiServlet.java:84)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
2015-10-06 14:17:48,610 INFO  [c.c.a.ApiServer]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) Unable to add the host
2015-10-06 14:17:48,610 DEBUG [c.c.a.ApiServlet]
(catalina-exec-11:ctx-341afb7d ctx-33f6c1c8) ===END===  10.225.8.161 --
POST
command=addHost&response=json&sessionkey=oxoNBayeBFoixttnzQuIKWRC5N8%3D


Can you help me?

Thanks

-- 
Luciano Castro

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message