[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] [XCP-1.6-BETA]


  • To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Benoit Lair <benoit.lair@xxxxxxxx>
  • Date: Tue, 9 Oct 2012 15:26:11 +0100 (BST)
  • Delivery-date: Tue, 09 Oct 2012 14:26:43 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=RT5Tp2ftY6+WX43kq7tiJL8oca5QEWXWELhERtpB4tMk2SOfxvbyAh+RVHLV4PyDz2yo6Epfu/OH9w2YUozi6Luo2zcFhRmetnzUWxgnXEGcq3YG++iu7Mn2Jsr/RaeXi99G88ui2MlRqbfgRPQR21CqkmIrSTT1vfJ0DBoQH9E=;
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello,

My log contain an errata :

this one is more complete and coherent :

2012-10-09 16:06:19,733 INFO? [cloud.resource.ResourceManagerImpl]
(catalina-exec-6:null) Trying to add a new host at http://192.168.0.4 in
data center 3
2012-10-09 16:06:19,783 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-6:null) Slave logon to 192.168.0.4
2012-10-09 16:06:19,795 DEBUG [xen.resource.XenServerConnectionPool]
(catalina-exec-6:null) Logging on as the master to 192.168.0.4
2012-10-09 16:06:19,889 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: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: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:1110)
??? at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
??? at java.lang.Thread.run(Thread.java:679)
2012-10-09 16:06:19,889 WARN? [cloud.resource.ResourceManagerImpl]
(catalina-exec-6:null) Unable to find the server resources at
http://192.168.0.4
2012-10-09 16:06:19,889 WARN? [api.commands.AddHostCmd] (catalina-exec-6: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: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:1110)
??? at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
??? at java.lang.Thread.run(Thread.java:679)
2012-10-09 16:06:19,890 WARN? [cloud.api.ApiDispatcher]
(catalina-exec-6:null) class com.cloud.api.ServerApiException : Unable
to add the host


And so here are the lines trigerred from /var/log/xensource.log onto my xcp 1.6 appliance when i click onto add the host on cloudstack server :

Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|session.slave_local_login_with_password D:7da8469ef246|xapi] Add session to local storage
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:pool.get_all_records D:9be65c9e499e|api_readonly] pool.get_all_records
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:host.get_address D:7e2662fe47e8|api_readonly] host.get_address
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|session.login_with_password D:f824804b3766|xapi] Successful local authentication user root from HTTP request from Internet with User-Agent: Apache XML RPC 3.1.3 (Sun HTTP Transport)
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [ info|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|session.login_with_password D:f824804b3766|xapi] Session.create trackid=35ab7a405b4d6e1c2bd48ab80a0e574f pool=false uname=root is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|session.login_with_password D:f824804b3766|mscgen] xapi=>xapi [label="<methodCall><methodName>session.get_uuid</methodName><params><param><value>OpaqueRef:912d0c96-5811-bf51-a0e3-083854221754</value></param><param><value>OpaqueRef:912d0c96-5811-bf51-a0e3-083854221754</value></param></params></methodCall>"];
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|758 UNIX /var/xapi/xapi||dummytaskhelper] task dispatch:session.get_uuid D:0ede44c6c684 created by task D:f824804b3766
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|758 UNIX /var/xapi/xapi|dispatch:session.get_uuid D:0ede44c6c684|api_readonly] session.get_uuid
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:session.get_this_host D:25ee2c1707aa|api_readonly] session.get_this_host
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:host.get_API_version_major D:e519dd7653cf|api_readonly] host.get_API_version_major
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:session.get_this_host D:9560d5a382da|api_readonly] session.get_this_host
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:host.get_API_version_minor D:c2015c73fc3d|api_readonly] host.get_API_version_minor
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:pool.get_all D:398ebfdfdcff|api_readonly] pool.get_all
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:pool.get_record D:232ca6176fde|api_readonly] pool.get_record
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [debug|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|dispatch:host.get_all_records D:28daea7626eb|api_readonly] host.get_all_records
Oct  9 16:23:34 xenserver-nsdqwqrf xapi: [ info|xenserver-nsdqwqrf|757 INET 0.0.0.0:80|session.logout D:a2a1d11572ba|xapi] Session.destroy trackid=35ab7a405b4d6e1c2bd48ab80a0e574f



Cordially, Benoit Lair.
 


De : Benoit Lair <benoit.lair@xxxxxxxx>
à: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
Envoyà le : Mardi 9 octobre 2012 16h10
Objet : [XCP-1.6-BETA]

Hello,

I'm trying the new xcp 1.6 beta (61002c) and got an error when trying to get it work with cloudstack.

When i'm trying to add an xcp 1.6 host to my cloudstack (3.0.2 version on a centos 6.2), i got these errors on the log /var/log/cloud/management/management-server.log

Here the lines concerning this host :

2012-10-09 16:06:19,733 INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-6:null) Trying to add a new host at http://192.168.0.4 in data center 3
2012-10-09 16:06:19,783 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-6:null) Slave logon to 192.168.0.4
2012-10-09 16:06:19,795 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-6:null) Logging on as the master to 192.168.0.4
2012-10-09 16:06:19,889 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: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: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:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2012-10-09 16:06:19,889 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-6:null) Unable to find the server resources at http://172.20.0.4
2012-10-09 16:06:19,889 WARN  [api.commands.AddHostCmd] (catalina-exec-6: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: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:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2012-10-09 16:06:19,890 WARN  [cloud.api.ApiDispatcher] (catalina-exec-6:null) class com.cloud.api.ServerApiException : Unable to add the host

Also, i can add an host under xcp 1.0, 1.1 or xcp 1.4.90 (1.5 beta).

But no way for xcp 1.6 to enter cloudstack.


Cordially, Benoit Lair.
 
--
-=- L'urgent est fait, l'impossible est en cours, pour les miracles prÃvoir un dÃlai -=-
-=- AndromÃde ? Pas francais !! Mais si ca le devenait je n'en aurais point besoin -=-
-=- Il nâexiste que deux choses infinies, lâunivers et la bÃtise humaine... mais pour lâunivers, je nâai pas de certitude absolue -=-


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.