benoit lair created CLOUDSTACK-317:
--------------------------------------
Summary: get xcp 1.5 into an advanced network zone
Key: CLOUDSTACK-317
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-317
Project: CloudStack
Issue Type: Test
Affects Versions: 4.0.0
Environment: Cloudstack 4.0.0/ubuntu 12.04 LTS for management
server/xcp 1.5 appliance centos from xen.org
Reporter: benoit lair
I'm trying to get my xcp 1.5 onto cloudstack.
After the well known-tricks on NFS python scripts and packages xs:main, i can
get my xcp on a basic network zone.
But when i try to get my xcp 1.5 onto an advanced network zone, i got errors.
Here is the log entries when i try to get it working.
2012-10-11 15:32:30,347 DEBUG [xen.resource.XenServerConnectionPool]
(catalina-exec-4:null) Logging on as the master to 172.20.0.7
2012-10-11 15:32:30,438 INFO [xen.discoverer.XcpServerDiscoverer]
(catalina-exec-4:null) Found host xenserver-xcp-vps-07 ip=172.20.0.7 product
version=1.4.90
2012-10-11 15:32:30,610 DEBUG [xen.resource.CitrixResourceBase]
(catalina-exec-4:null) Management network is on
pif=2994f899-f449-178f-7da4-bf1ecdbd8259
2012-10-11 15:32:30,621 WARN [xen.resource.CitrixResourceBase]
(catalina-exec-4:null) Unable to get host information for 172.20.0.7
java.lang.NullPointerException
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getHostInfo(CitrixResourceBase.java:4331)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4460)
at
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1598)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
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:615)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
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-11 15:32:30,622 WARN [xen.resource.CitrixResourceBase]
(catalina-exec-4:null) Unable to get host information for 172.20.0.7
2012-10-11 15:32:30,622 INFO [cloud.resource.ResourceManagerImpl]
(catalina-exec-4:null) Unable to fully initialize the agent because no
StartupCommands are returned
2012-10-11 15:32:30,622 INFO [cloud.resource.ResourceManagerImpl]
(catalina-exec-4:null) server resources successfully discovered by XCP Agent
2012-10-11 15:32:30,622 WARN [cloud.api.ApiDispatcher] (catalina-exec-4:null)
class com.cloud.api.ServerApiException : Failed to add host
2012-10-11 15:32:52,774 DEBUG [storage.secondary.SecondaryStorageManagerImpl]
(secstorage-1:null) Primary storage is not ready, wait until it is ready to
launch secondary storage vm
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira