cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@citrix.com>
Subject RE: Fail to createZones during devcloud2 configuration.
Date Sat, 05 Jan 2013 06:49:38 GMT
Are you trying with latest git repo, master? I'm not sure about Windows, can you check if you
can ssh into devcloud on 192.168.56.10 using putty or any 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/setupxenserver.sh (maybe this script is missing,
due to systemvm.iso missing etc.)... make 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 <module>
    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\cloudstackAPIClient.py",
line 1075, in addHost
    response = self.connection.make_request(command, response)
  File
"D:\dev\incubator-cloudstack\tools\marvin\marvin\cloudstackConnection.py",
line 174, in make_request
    result = 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=192.168.56.10 product version=1.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 = 60
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WEB-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\WEB-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\domr\\ipassoc.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WEB-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\domr\\getDomRVersion.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WEB-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\domr\\getRouterStatus.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WEB-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\domr\\networkUsage.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
D:\dev\incubator-cloudstack\client\target\cloud-client-ui-4.1.0-SNAPSHOT\WEB-INF\classes\scripts\vm\hypervisor\xenserver\xcposs\..\..\..\..\network\domr\\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\WEB-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(CitrixResourceBase.java:3754)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(CitrixResourceBase.java:3766)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:4542)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:494)
        at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.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(ScheduledThreadPoolExecutor.java:206)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: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(XcpServerDiscoverer.java:652)
        at
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:611)
        at
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1502)
        at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1648)
        at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
        at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java: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(ContextHandlerCollection.java:230)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        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(HttpConnection.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:582)
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(AgentManagerImpl.java:1434)
        at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1673)
        at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
        at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java: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(ContextHandlerCollection.java:230)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        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(HttpConnection.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:582)

Mime
View raw message