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.