Welcome, Guest
Username: Password: Remember me
This forum is devoted to discussions around virtualization technologies related to cloud computing including Xen Cloud Platform, KVM and VMware.

TOPIC: XCP x86_64: Cannot add host

XCP x86_64: Cannot add host 1 year 2 months ago #12326

  • lcfseth
  • lcfseth's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi,
We are currently testing CloudStack with different hypervisors (XenServer, XCP, KVM).
I was able to install CloudStack properly and I managed to add 2 hosts (XCP 1.1, XCP 1.5).
For both this hosts, I've used the pre-made Host installation Program iso.
The problem with these distributions, is that they are made of i386 architecture, which is obviously not suited in production (I don't think we have a single 4Go Ram server).

I've installed XCP-XAPI package on Ubuntu 12.04 LTS x86_64. But I can't add it to CloudStack.

Most tutorials and questions I found on the Internet seems to be related to the i386 iso distribution.

Did anyone manage to attach an "Ubuntu + XCP-XAPI" host on cloudstack? Is it supported?
What is missing in the Ubuntu version?

We are using CloudStack 3.0.2.

Thanks
Last Edit: 1 year 2 months ago by lcfseth.
The administrator has disabled public write access.

Re: XCP x86_64: Cannot add host 1 year 2 months ago #12327

  • lcfseth
  • lcfseth's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
**** RESERVED ****
The administrator has disabled public write access.

Re: XCP x86_64: Cannot add host 1 year 1 week ago #12808

I seem to be having the same issue. I am seeing a NullPointerException in the CS management log... Were you able to get the host added?


2012-10-10 14:50:09,179 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-11:null) Logging on as the master to 10.88.28.25
2012-10-10 14:50:09,247 DEBUG [xen.discoverer.XcpServerDiscoverer] (catalina-exec-11:null) other exceptions: java.lang.NullPointerException
java.lang.NullPointerException
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.createServerResource(XcpServerDiscoverer.java:403)
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:266)
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:509)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
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:886)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2256)
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:636)
2012-10-10 14:50:09,247 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-11:null) Unable to find the server resources at http://10.88.28.25
2012-10-10 14:50:09,248 WARN [api.commands.AddHostCmd] (catalina-exec-11: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:509)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
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:886)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2256)
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:636)
2012-10-10 14:50:09,249 WARN [cloud.api.ApiDispatcher] (catalina-exec-11:null) class com.cloud.api.ServerApiException : Unable to add the host
The administrator has disabled public write access.

Re: XCP x86_64: Cannot add host 6 months 3 weeks ago #13114

  • ykruchko
  • ykruchko's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
In cloud stack 3.0.2 u can use only xcp 1.0. Use cloud stack 4.0.1 you can use xcp 1.0 -1.5
Last Edit: 6 months 3 weeks ago by ykruchko.
The administrator has disabled public write access.
Time to create page: 0.277 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect