Umair, Adding to what Geoff mentioned, as such you mentioned that your host is rebooting automatically, so could be the reason for management server not connecting to host.
Check the reason specific to host and xenserver as why it is rebooting first? Possible reasons could also be your primary storage going offline i believe and CS is restarting host? Santhosh ________________________________________ From: Geoff Higginbottom [geoff.higginbot...@shapeblue.com] Sent: Wednesday, February 12, 2014 6:02 AM To: users@cloudstack.apache.org Subject: RE: Unable to create slave connection to host [Machine gets rebooted] Hi Umair, Can you also provide more info about your environment, as the logs indicate its an issue related to the communication between your management server and the host. Other things to check are the following global settings: 1. host - IP of the CloudStack Management Server (if it has more than 1 interface it might have picked up the wrong IP) 2. management.network.cidr - is the XenServer management IP is this range ? Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -----Original Message----- From: sebgoa [mailto:run...@gmail.com] Sent: 12 February 2014 10:02 To: users@cloudstack.apache.org Subject: Re: Unable to create slave connection to host [Machine gets rebooted] Hi Umair, Can you give specifics on which version of cloudstack you are using ? Are you using the packages or compiling from source ? Which version of Xenserver are you using ? -Sebastien On Feb 11, 2014, at 4:29 AM, Umair Azam <ua...@i2cinc.com> wrote: > Is there anybody who can help me out on this issue, I m stuck here since > 2weeks, tried re-installation several times, changed machines but still > getting this issue :( > > Umair Azam > > On 1/27/2014 10:48 PM, Umair Azam wrote: >> 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 >> >> > Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/> 18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/> 17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> 24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> 16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> 23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.