cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wuzhiqing" <wuzhiqing1...@gmail.com>
Subject cloudstack add ovm host occur error
Date Wed, 06 Feb 2013 07:12:58 GMT
Hi:
 Everyone,I have created a zone with vmware hypervisor and created a ovm cluster,when I want
to add the ovm server host,the result is many many errors.Step that follows cloudstack installation
guide.
 cloudstack version : 3.0.2
 ovm version: 2.2
 
thanks advance!!!
 the following is the error log:



2013-02-06 14:44:09,180 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-24:null) Executing cmd:
sh /usr/bin/configureOvm.sh preSetup
2013-02-06 14:44:10,747 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-24:null) sh /usr/bin/configureOvm.sh
preSetup output:Start ovs agent failed


2013-02-06 14:44:11,747 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-24:null) Executing cmd:
sh /usr/bin/configureOvm.sh preSetup
2013-02-06 14:44:12,694 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector
is running...
2013-02-06 14:44:12,708 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-5:null) Seq
1-1365840663: Executing request
2013-02-06 14:44:12,966 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-5:null) Vm cpu
utilization 0.02
2013-02-06 14:44:12,966 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-5:null) Seq
1-1365840663: Response Received: 
2013-02-06 14:44:12,967 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 1-1365840663:
Received:  { Ans: , MgmtId: 46222739942768, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer
} }
2013-02-06 14:44:12,967 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null)
Cleanup succeeded. Details null
2013-02-06 14:44:12,970 DEBUG [cloud.vm.VirtualMachineManagerImpl] (DirectAgent-5:null) Cleanup
succeeded. Details null
2013-02-06 14:44:12,977 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-464:null) Seq
5-1012736609: Executing request
2013-02-06 14:44:13,318 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-464:null) Vm
cpu utilization 0.039999999999999994
2013-02-06 14:44:13,318 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-464:null) Vm
cpu utilization 0.04
2013-02-06 14:44:13,318 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-464:null) Seq
5-1012736609: Response Received: 
2013-02-06 14:44:13,318 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 5-1012736609:
Received:  { Ans: , MgmtId: 46222739942768, via: 5, Ver: v1, Flags: 10, { GetVmStatsAnswer
} }
2013-02-06 14:44:13,318 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null)
Cleanup succeeded. Details null
2013-02-06 14:44:13,319 DEBUG [cloud.vm.VirtualMachineManagerImpl] (DirectAgent-464:null)
Cleanup succeeded. Details null
2013-02-06 14:44:13,340 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-24:null) sh /usr/bin/configureOvm.sh
preSetup output:Start ovs agent failed


2013-02-06 14:44:14,340 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-24:null) Executing cmd:
sh /usr/bin/configureOvm.sh preSetup
2013-02-06 14:44:15,937 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-24:null) sh /usr/bin/configureOvm.sh
preSetup output:Start ovs agent failed


2013-02-06 14:44:16,938 DEBUG [ovm.hypervisor.OvmResourceBase] (catalina-exec-24:null) Setup
server failed, ip 192.168.3.6
com.cloud.utils.exception.CloudRuntimeException: Execute configureOvm.sh preSetup failed on
192.168.3.6
        at com.cloud.ovm.hypervisor.OvmResourceBase.setupServer(OvmResourceBase.java:335)
        at com.cloud.ovm.hypervisor.OvmResourceBase.configure(OvmResourceBase.java:210)
        at com.cloud.ovm.hypervisor.OvmDiscoverer.find(OvmDiscoverer.java:200)
        at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:644)
        at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:514)
        at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:545)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:452)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-02-06 14:44:16,939 DEBUG [ovm.hypervisor.OvmDiscoverer] (catalina-exec-24:null) Configure
resource failed, Unable to discover OVM: http://192.168.3.6
javax.naming.ConfigurationException: Unable to setup server
        at com.cloud.ovm.hypervisor.OvmResourceBase.configure(OvmResourceBase.java:213)
        at com.cloud.ovm.hypervisor.OvmDiscoverer.find(OvmDiscoverer.java:200)
        at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:644)
        at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:514)
        at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:545)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:452)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-02-06 14:44:16,939 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-24:null)
Unable to find the server resources at http://192.168.3.6
2013-02-06 14:44:16,939 WARN  [api.commands.AddHostCmd] (catalina-exec-24:null) Exception:

com.cloud.exception.DiscoveryException: Unable to add the host
        at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:694)
        at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:514)
        at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:545)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:452)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:300)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:59)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-02-06 14:44:16,940 WARN  [cloud.api.ApiDispatcher] (catalina-exec-24:null) class com.cloud.api.ServerApiException
: Unable to add the host
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message