Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A726DB3F for ; Sat, 5 Jan 2013 06:50:13 +0000 (UTC) Received: (qmail 34572 invoked by uid 500); 5 Jan 2013 06:50:12 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 34364 invoked by uid 500); 5 Jan 2013 06:50:12 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 34335 invoked by uid 99); 5 Jan 2013 06:50:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2013 06:50:11 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rohit.yadav@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2013 06:50:05 +0000 X-IronPort-AV: E=Sophos;i="4.84,415,1355097600"; d="scan'208";a="279062" Received: from banpmailmx02.citrite.net ([10.103.128.74]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 05 Jan 2013 06:49:41 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.72]) by BANPMAILMX02.citrite.net ([10.103.128.74]) with mapi; Sat, 5 Jan 2013 12:19:39 +0530 From: Rohit Yadav To: "cloudstack-dev@incubator.apache.org" Date: Sat, 5 Jan 2013 12:19:38 +0530 Subject: RE: Fail to createZones during devcloud2 configuration. Thread-Topic: Fail to createZones during devcloud2 configuration. Thread-Index: Ac3rBv/7ZAvh4RFBRUOECqlbqrk2XQACPEnH Message-ID: <0BCCCE152323764BB7FD6AE6D7A1D9060102894ED04A@BANPMAILBOX01.citrite.net> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Are you trying with latest git repo, master? I'm not sure about Windows, ca= n you check if you can ssh into devcloud on 192.168.56.10 using putty or an= y ssh-client. Looks like when you build mgmt server, you may not have built systemvm.iso = as setIptables() make fail on trying to exec /usr/lib/xcp/bin/setupxenserve= r.sh (maybe this script is missing, due to systemvm.iso missing etc.)... ma= ke sure you've equivalent of mkisofs on windows, and try again by building = using the following a deploying a basic zone again: mvn clean install -P developer,systemvm Pl. open an issue in case there is some bug in the vmops plugin or recently= introduced regression/bug. Hope that helps. ________________________________________ From: Kimihiko Kitase [kkitase@gmail.com] Sent: Saturday, January 05, 2013 11:08 AM To: cloudstack-dev@incubator.apache.org Subject: Fail to createZones during devcloud2 configuration. I am tring to set up devcloud2 in my machine. management server and mysql runs on local pc. management server run properly, but I got the following error when configuring management server with "mvn -P developer -pl tools/devcloud -Ddeploysvr" - Changed host in global parameter to 192.168.56.1 - Installed mysql-connector-python-1.0.8 [Environment] Windows 7 x64 + Cygwin + Python 2.7 + MySQL 5.1.66-community Do you know any resolution? --- output of "mvn -P developer -pl tools/devcloud -Ddeploysvr" --- $ mvn -P developer -pl tools/devcloud -Ddeploysvr [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-devcloud --- [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-devcloud --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-devcloud --- Traceback (most recent call last): File "../marvin/marvin/deployDataCenter.py", line 455, in deploy.deploy() File "../marvin/marvin/deployDataCenter.py", line 440, in deploy self.createZones(self.config.zones) File "../marvin/marvin/deployDataCenter.py", line 312, in createZones self.createpods(zone.pods, zoneId, networkid) File "../marvin/marvin/deployDataCenter.py", line 109, in createpods self.createClusters(pod.clusters, zoneId, podId) File "../marvin/marvin/deployDataCenter.py", line 73, in createClusters cluster.hypervisor) File "../marvin/marvin/deployDataCenter.py", line 53, in addHosts self.apiClient.addHost(hostcmd) File "D:\dev\incubator-cloudstack\tools\marvin\marvin\cloudstackAPI\cloudstackAP= IClient.py", line 1075, in addHost response =3D self.connection.make_request(command, response) File "D:\dev\incubator-cloudstack\tools\marvin\marvin\cloudstackConnection.py", line 174, in make_request result =3D self.make_request_with_auth(commandName, requests) File "D:\dev\incubator-cloudstack\tools\marvin\marvin\cloudstackConnection.py", line 88, in make_request_with_auth raise e urllib2.HTTPError: HTTP Error 530: 530 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 56.999s [INFO] Finished at: Sat Jan 05 14:26:13 GMT+09:00 2013 [INFO] Final Memory: 16M/112M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project cloud-devcloud: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException --- Management Server Windows --- WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:) Notifying management server join event took 36 ms INFO [cloud.resource.ResourceManagerImpl] (1193729858@qtp-1893166417-2:) Trying to add a new host at http://192.168.56.10/ in data center 1 INFO [xen.discoverer.XcpServerDiscoverer] (1193729858@qtp-1893166417-2:) Found host devcloud ip=3D192.168.56.10 product version=3D1.6.0 INFO [xen.resource.CitrixResourceBase] (1193729858@qtp-1893166417-2:) Private Network is Pool-wide network associated with eth0 for host 192.168.56.10 INFO [xen.resource.CitrixResourceBase] (1193729858@qtp-1893166417-2:) Guest Network is Pool-wide network associated with eth0 for host 192.168.56.10 INFO [xen.resource.CitrixResourceBase] (1193729858@qtp-1893166417-2:) Public Network is Pool-wide network associated with eth0 for host 192.168.56.10 INFO [xen.discoverer.XcpServerDiscoverer] (1193729858@qtp-1893166417-2:) Host: devcloud connected with hypervisor type: XenServer. Checking CIDR... INFO [agent.manager.DirectAgentAttache] (1193729858@qtp-1893166417-2:) StartupAnswer received 1 Interval =3D 60 WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\ovsgre WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\do= mr\\ipassoc.sh WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\do= mr\\getDomRVersion.sh WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\do= mr\\getRouterStatus.sh WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\do= mr\\networkUsage.sh WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\do= mr\\l2tp_vpn.sh WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WE= B-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\vhd-util WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) callHostPlugin failed for cmd: setIptables with args due to There was a failure communicating with the plugin. WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) Unable to setup com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: setIptables with args due to There was a failure communicating with the plugin. at com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixR= esourceBase.java:3754) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(CitrixReso= urceBase.java:3766) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResource= Base.java:4542) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixR= esourceBase.java:494) at com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResou= rce.java:136) at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java= :191) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access= $301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sc= heduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j= ava:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:= 908) at java.lang.Thread.run(Thread.java:662) WARN [xen.discoverer.XcpServerDiscoverer] (1193729858@qtp-1893166417-2:) Unable to setup agent 1 due to callHostPlugin failed for cmd: setIptables with args due to There was a failure communicating with the plugin. WARN [agent.manager.AgentManagerImpl] (1193729858@qtp-1893166417-2:) Monitor XcpServerDiscoverer$$EnhancerByCGLIB$$8b8cdb1c says there is an error in the connect process for 1 due to Reinitialize agent after setup. INFO [agent.manager.AgentManagerImpl] (1193729858@qtp-1893166417-2:) Host 1 is disconnecting with event AgentDisconnected WARN [cloud.resource.ResourceManagerImpl] (1193729858@qtp-1893166417-2:) Unable to connect due to com.cloud.exception.ConnectionException: Reinitialize agent after setup. at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpS= erverDiscoverer.java:652) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentMa= nagerImpl.java:611) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentMana= gerImpl.java:1502) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerIm= pl.java:1648) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImp= l.java:737) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.ja= va:551) at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:168) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:540) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:424) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCol= lection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:1= 14) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnecti= on.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410= ) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:58= 2) ERROR [cloud.api.ApiDispatcher] (1193729858@qtp-1893166417-2:) Exception while executing AddHostCmd: com.cloud.utils.exception.CloudRuntimeException: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 256051841179738,Unable to transition to a new state from Creating via AgentDisconnected at com.cloud.agent.manager.AgentManagerImpl.agentStatusTransitTo(AgentManagerI= mpl.java:1434) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerIm= pl.java:1673) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImp= l.java:737) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.ja= va:551) at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:168) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:540) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:424) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCol= lection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:1= 14) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnecti= on.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410= ) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:58= 2)