cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From -Cb <cbais...@gmail.com>
Subject Cloudstack 4.4.2 添加第二个XenServer计算节点时报错
Date Wed, 04 Mar 2015 10:18:49 GMT
       前情提要: 群集内已有一个XenServer 6.2, 运行正常, 两个系统VM均正常运行,
但是尝试添加实例时失败,
查看日志发现有提示系统资源不足的关键字, 于是决定添加第二台的Xenserver.

       错误症状: 打算添加的第二台XenServer配置与已有的Xenserver相同, 版本也相同,
在WEB界面添加第二台XenServer到同一个群集中时提示"Unable to add the host".
但是添加到另一个群集时正常.

       系统设置: 管理节点IP为192.168.1.100,
两台XenServerIP为192.168.1.110与192.168.1.111, Hostname与系统时间均正常设置,
网络桥接方式均已设置为Bridge.

       日志报错如下:

2015-03-04 18:02:01,550 DEBUG [c.c.a.ApiServlet]
(catalina-exec-1:ctx-6f74953e) ===START===  192.168.1.100 -- POST
 command=addHost&response=json&sessionkey=bAl3Vgt3LfeEIQmfmABC0zmlTbs%3D
2015-03-04 18:02:01,553 WARN  [c.c.a.d.ParamGenericValidationWorker]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Received unknown parameters for
command addHost. Unknown parameters : clustertype
2015-03-04 18:02:01,554 INFO  [c.c.r.ResourceManagerImpl]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Trying to add a new host at
http://192.168.1.111 in data center 1
2015-03-04 18:02:01,628 DEBUG [c.c.h.x.d.XcpServerDiscoverer]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) host 192.168.1.111 doesn't have
996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix
2015-03-04 18:02:01,640 DEBUG [c.c.h.x.d.XcpServerDiscoverer]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) host 192.168.1.111 doesn't have
0850b186-4d47-11e3-a720-001b2151a503 Hotfix
2015-03-04 18:02:01,643 WARN  [c.c.h.x.d.XcpServerDiscoverer]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Please join the host
192.168.1.111 to XS pool  83e1532a-f7dd-6a07-3292-bf88cef34c83 through
XC/XS before adding it through CS UI
2015-03-04 18:02:01,644 INFO  [c.c.u.e.CSExceptionErrorCode]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for exceptions
2015-03-04 18:02:01,644 DEBUG [c.c.h.x.d.XcpServerDiscoverer]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) other exceptions:
com.cloud.exception.DiscoveryException: Please join the host 192.168.1.111
to XS pool  83e1532a-f7dd-6a07-3292-bf88cef34c83 through XC/XS before
adding it through CS UI
com.cloud.exception.DiscoveryException: Please join the host 192.168.1.111
to XS pool  83e1532a-f7dd-6a07-3292-bf88cef34c83 through XC/XS before
adding it through CS UI
at
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:245)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy148.discoverHosts(Unknown Source)
at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82)
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: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:2274)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2015-03-04 18:02:01,645 WARN  [c.c.r.ResourceManagerImpl]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Unable to find the server
resources at http://192.168.1.111
2015-03-04 18:02:01,645 INFO  [c.c.u.e.CSExceptionErrorCode]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for exceptions
2015-03-04 18:02:01,645 WARN  [o.a.c.a.c.a.h.AddHostCmd]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy148.discoverHosts(Unknown Source)
at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82)
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: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:2274)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
2015-03-04 18:02:01,647 INFO  [c.c.a.ApiServer]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) Unable to add the host
2015-03-04 18:02:01,648 DEBUG [c.c.a.ApiServlet]
(catalina-exec-1:ctx-6f74953e ctx-28c07371) ===END===  192.168.1.100 --
POST
 command=addHost&response=json&sessionkey=bAl3Vgt3LfeEIQmfmABC0zmlTbs%3D


       感谢大家的解答

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message