hey, i get these errors on cloudstack 4.1.1 while trying to add the XCP 1.6 ubuntu host. i might have made a mistake on the network setup. but where do i start?
more information and error log below. have a nice day & thanks for reading lisa #zone # name: cloudstack1 # externer dns: 192.168.2.1 # interner dns: 192.168.2.1 #pod # name: cloudstack1-pod1 # gateway: 192.168.2.1 # netzmaske: 255.255.255.0 # ip-bereich:192.168.2.50-192.168.2.100 #add guest network # gateway: 192.168.3.1 # netzmaske: 255.255.255.0 # ip bereich:192.168.3.151-192.168.3.190 #cluster hinzufügen # hypervisor: xenserver # name: cloudstack1-pod1-cluster1 #host hinzufügen # host name: 192.168.2.99 # benutzername: root # passwort: *** # auf 192.168.2.99 sudo passwd root ausführen, sonst kann cloudstack sich nicht verbinden #primary storage hinzufügen # name: mgmnfs # protokoll: nfs # server:mgm.***.com # path: /export/primary #Sekundärspeicher hinzufügen # nfs server: mgm.***.com / 192.168.2.50 # path: /export/secondary '/usr/lib/xcp/plugins/echo' works via command line on the host and i made sure it looks like this: #!/usr/bin/env python # Simple XenAPI plugin import XenAPIPlugin, time def main(session, args): if args.has_key("sleep"): secs = int(args["sleep"]) time.sleep(secs) return "args were: %s" % (repr(args)) if __name__ == "__main__": XenAPIPlugin.dispatch({"main": main}) 2013-09-02 03:42:48,838 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START=== 192.168.2.101 -- POST command=addHost&response=json&sessionkey=7DUTpl9gctKWi%2FlCY4EjMbYbrcM%3D 2013-09-02 03:42:48,849 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-16:null) Trying to add a new host at http://192.168.2.99 in data center 1 2013-09-02 03:42:48,868 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-16:null) Slave logon to 192.168.2.99 2013-09-02 03:42:48,881 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-16:null) Logging on as the master to 192.168.2.99 2013-09-02 03:42:48,954 INFO [xen.discoverer.XcpServerDiscoverer] (catalina-exec-16:null) Found host os1 ip=192.168.2.99 product version=1.6.0 2013-09-02 03:42:49,023 WARN [xen.resource.XenServerConnectionPool] (catalina-exec-16:null) Echo test failed on host 61d0f66b-044e-37f1-effa-d7f09ec29946 IP 192.168.2.99 There was a failure communicating with the plugin. at com.xensource.xenapi.Types.checkResponse(Types.java:1294) at com.xensource.xenapi.Connection.dispatch(Connection.java:368) at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909) at com.xensource.xenapi.Host.callPlugin(Host.java:2560) at com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:643) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(CitrixResourceBase.java:5384) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4495) at com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1981) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:845) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) 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:615) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282) 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:679) 2013-09-02 03:42:49,024 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-16:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Echo test failed on host 61d0f66b-044e-37f1-effa-d7f09ec29946 IP 192.168.2.99 at com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:671) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(CitrixResourceBase.java:5384) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4495) at com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1981) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:845) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) 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:615) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282) 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:679) Caused by: There was a failure communicating with the plugin. at com.xensource.xenapi.Types.checkResponse(Types.java:1294) at com.xensource.xenapi.Connection.dispatch(Connection.java:368) at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909) at com.xensource.xenapi.Host.callPlugin(Host.java:2560) at com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:643) ... 28 more 2013-09-02 03:42:49,025 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-16:null) server resources successfully discovered by XCP Agent 2013-09-02 03:42:49,025 INFO [cloud.api.ApiServer] (catalina-exec-16:null) Failed to add host 2013-09-02 03:42:49,025 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===END=== 192.168.2.101 -- POST command=addHost&response=json&sessionkey=7DUTpl9gctKWi%2FlCY4EjMbYbrcM%3D 2013-09-02 03:42:49,151 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet 2013-09-02 03:42:49,734 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode 2013-09-02 03:42:50,157 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers to update status. 2013-09-02 03:42:50,158 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. 2013-09-02 03:42:50,186 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers to update status. 2013-09-02 03:42:50,187 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.