cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Mikhailovsky <and...@arhont.com>
Subject XenServer Core and ACS 4.1 issue
Date Thu, 17 Oct 2013 08:34:44 GMT
Hello guys, 

I was wondering if anyone managed to add the XenServer Core to ACS? 

I was trying to setup the XenServer + ceph cluster and add it to ACS and frankly not having
much luck with the adding to ACS part. I am currently on ACS 4.1.1. To setup the XenServer
+ Ceph I've used the following guide: 

http://xenserver.org/blog/entry/tech-preview-of-xenserver-libvirt-ceph.html 

After sorting out a few issues not covered in this guide I've managed to add Ceph cluster
to my XenServer Core - I can see my Ceph Cluster as SR. However, adding to ACS would give
me the following error in the console: 

2013-10-17 09:29:37,251 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-6:null) Trying
to add a new host at http://192.168.169.11 in data center 1 
2013-10-17 09:29:37,337 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-6:null)
Slave logon to 192.168.169.11 
2013-10-17 09:29:37,398 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-6:null)
Logging on as the master to 192.168.169.11 
2013-10-17 09:29:37,567 DEBUG [agent.transport.Request] (AgentManager-Handler-14:null) Seq
56-527224240: Processing: { Ans: , MgmtId: 110514943262, via: 56, Ver: v1, Flags: 10, [{"NetworkUsageAnswer":{"routerName":"r-638-VM","bytesSent":19552411933,"bytesReceived":1162622661,"result":true,"details":"","wait":0}}]
} 
2013-10-17 09:29:37,567 DEBUG [agent.transport.Request] (RouterMonitor-1:null) Seq 56-527224240:
Received: { Ans: , MgmtId: 110514943262, via: 56, Ver: v1, Flags: 10, { NetworkUsageAnswer
} } 
2013-10-17 09:29:37,567 DEBUG [agent.manager.AgentManagerImpl] (RouterMonitor-1:null) Details
from executing class com.cloud.agent.api.NetworkUsageCommand: 
2013-10-17 09:29:37,568 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null)
Router stats changed from the time NetworkUsageCommand was sent. Ignoring current answer.
Router: r-638-VM Rcvd: 1162622661Sent: 19552411933 
2013-10-17 09:29:37,568 DEBUG [db.Transaction.Transaction] (RouterMonitor-1:null) Rolling
back the transaction: Time = 1 Name = -VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:883-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679;
called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:938-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:267-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679

2013-10-17 09:29:37,804 DEBUG [xen.discoverer.XcpServerDiscoverer] (catalina-exec-6:null)
other exceptions: java.lang.NullPointerException 
java.lang.NullPointerException 
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.createServerResource(XcpServerDiscoverer.java:417)

at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:278)

at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:801)

at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619) 
at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) 
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) 
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) 
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) 
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) 
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) 
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:2268) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:679) 
2013-10-17 09:29:37,804 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-6:null) Unable
to find the server resources at http://192.168.169.11 
2013-10-17 09:29:37,804 INFO [utils.exception.CSExceptionErrorCode] (catalina-exec-6:null)
Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions

2013-10-17 09:29:37,804 WARN [admin.host.AddHostCmd] (catalina-exec-6:null) Exception: 
com.cloud.exception.DiscoveryException: Unable to add the host 
at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)

at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619) 
at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) 
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) 
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505) 
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355) 
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302) 
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) 
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:2268) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:679) 
2013-10-17 09:29:37,805 INFO [cloud.api.ApiServer] (catalina-exec-6:null) Unable to add the
host 



I've doublechecked that the management server can connect to the XenServer Core on ports 80,
443 and 22. 

Could someone point me in the right direction please? 

Thanks 

Andrei 


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