Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: pre-4.0.0
    • Fix Version/s: pre-4.0.0
    • Component/s: XenServer
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:

      Description

      Adding a new XenServer 6.0.2 host fails.

      The management log reports:
      2012-09-16 08:47:03,149 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-7:null) Trying to add a new host at http://10.1.10.51 in data center 3
      2012-09-16 08:47:03,218 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-7:null) Slave logon to 10.1.10.51
      2012-09-16 08:47:03,248 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-7:null) Logging on as the master to 10.1.10.51
      2012-09-16 08:47:03,401 INFO [xen.discoverer.XcpServerDiscoverer] (catalina-exec-7:null) Found host localhost ip=10.1.10.51 product version=6.0.2
      2012-09-16 08:47:03,713 DEBUG [xen.resource.CitrixResourceBase] (catalina-exec-7:null) Management network is on pif=a5a64b7a-2d53-9632-8b8e-5dd988f083b2
      2012-09-16 08:47:03,735 WARN [xen.resource.CitrixResourceBase] (catalina-exec-7:null) Unable to get host information for 10.1.10.51
      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.hypervisor.xen.resource.XenServer56Resource.initialize(XenServer56Resource.java:328)
      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: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-09-16 08:47:03,741 WARN [xen.resource.CitrixResourceBase] (catalina-exec-7:null) Unable to get host information for 10.1.10.51
      2012-09-16 08:47:03,741 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-7:null) Unable to fully initialize the agent because no StartupCommands are returned
      2012-09-16 08:47:03,742 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-7:null) server resources successfully discovered by XCP Agent
      2012-09-16 08:47:03,742 WARN [cloud.api.ApiDispatcher] (catalina-exec-7:null) class com.cloud.api.ServerApiException : Failed to add host

        Issue Links

          Activity

          Jonas Vachal created issue -
          Sudha Ponnaganti made changes -
          Field Original Value New Value
          Affects Version/s pre-4.0.0 [ 12323252 ]
          Affects Version/s 4.0.0 [ 12323251 ]
          Sudha Ponnaganti made changes -
          Fix Version/s pre-4.0.0 [ 12323252 ]
          Ram Chinta made changes -
          Assignee Devdeep Singh [ devdeep ]
          Devdeep Singh made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Cannot Reproduce [ 5 ]
          Tony Stevenson made changes -
          Workflow jira [ 12725621 ] Cloudstack Workflow [ 12726455 ]
          Sudha Ponnaganti made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          benoit lair made changes -
          Link This issue is cloned as CLOUDSTACK-318 [ CLOUDSTACK-318 ]

            People

            • Assignee:
              Devdeep Singh
              Reporter:
              Jonas Vachal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development