cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umair Azam <ua...@i2cinc.com>
Subject Unable to create slave connection to host [Machine gets rebooted]
Date Mon, 27 Jan 2014 17:48:36 GMT
Hi,

I am new to cloudstack and testing, evaluating it for future deployment, 
I am Getting following exception while system VM's creation is in 
process for the first time, After below exception seen in management 
server logs, host machine becomes unresponsive and reboots automatically.
Host Machine specs: core 2 Duo 4GB RAM with Xenserver

2014-01-27 23:51:55,743 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-15:null) Seq 1-798621700: Executing request
2014-01-27 23:51:55,743 DEBUG [xen.resource.XenServerConnectionPool] 
(DirectAgent-15:null) Logging on as the slave to 10.11.17.31
2014-01-27 23:51:57,756 DEBUG [xen.resource.XenServerConnectionPool] 
(DirectAgent-15:null) Unable to create slave connection to 
host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No 
route to host
2014-01-27 23:51:58,544 DEBUG [cloud.api.ApiServlet] 
(catalina-exec-11:null) ===START===  10.11.17.22 -- GET 
command=listSystemVms&response=json&sessionkey=k7%2B%2FaPitbX17ZzD9gfUWajyijo8%3D&_=1390830753664
2014-01-27 23:51:58,610 DEBUG [cloud.api.ApiServlet] 
(catalina-exec-11:null) ===END===  10.11.17.22 -- GET 
command=listSystemVms&response=json&sessionkey=k7%2B%2FaPitbX17ZzD9gfUWajyijo8%3D&_=1390830753664
2014-01-27 23:52:00,757 DEBUG [xen.resource.XenServerConnectionPool] 
(DirectAgent-15:null) localLogout has problem Failed to read server's 
response: No route to host
2014-01-27 23:52:00,757 WARN  [agent.manager.DirectAgentAttache] 
(DirectAgent-15:null) Seq 1-798621700: Exception Caught while executing 
command
com.cloud.utils.exception.CloudRuntimeException: Unable to create slave 
connection to host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No 
route to host
         at 
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:580)
         at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(CitrixResourceBase.java:5871)
         at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:8098)
         at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:599)
         at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
         at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
         at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
         at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
         at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
         at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
         at java.lang.Thread.run(Thread.java:701)
Caused by: org.apache.xmlrpc.XmlRpcException: Failed to read server's 
response: No route to host
         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:303)
         at 
com.xensource.xenapi.Session.slaveLocalLoginWithPassword(Session.java:587)
         at 
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.slaveLocalLoginWithPassword(XenServerConnectionPool.java:688)
         at 
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:574)
         ... 14 more
Caused by: java.net.NoRouteToHostException: No route to host
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
         at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
         at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
         at java.net.Socket.connect(Socket.java:546)
         at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:590)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:173)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
         at 
sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
         at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:332)
         at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
         at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
         at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
         at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:979)
         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)
         ... 24 more
2014-01-27 23:52:00,759 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-15:null) Seq 1-798621700: Response Received:
2014-01-27 23:52:00,757 WARN  [xen.resource.CitrixResourceBase] 
(DirectAgent-54:null)  can not ping xenserver 
da372d8a-bbeb-486d-a85e-06922cac8da4
2014-01-27 23:52:00,760 WARN  [agent.manager.DirectAgentAttache] 
(DirectAgent-54:null) Unable to get current status on 1
2014-01-27 23:52:00,759 DEBUG [agent.transport.Request] 
(DirectAgent-15:null) Seq 1-798621700: Processing:  { Ans: , MgmtId: 
130189987379, via: 1, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException:

Unable to create slave connection to 
host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No 
route to host","wait":0}}] }
2014-01-27 23:52:00,762 INFO  [agent.manager.AgentManagerImpl] 
(AgentTaskPool-5:null) Investigating why host 1 has disconnected with 
event AgentDisconnected


Mime
View raw message