[ https://issues.apache.org/jira/browse/CLOUDSTACK-7062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koushik Das resolved CLOUDSTACK-7062. ------------------------------------- Resolution: Cannot Reproduce Fix Version/s: 4.5.0 > Creating storage pool failing with xenserver with NullPointerException > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-7062 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7062 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, Storage Controller > Affects Versions: 4.4.0 > Environment: XenServer > Reporter: Gaurav Aradhye > Assignee: Koushik Das > Fix For: 4.4.0, 4.5.0 > > > test case related to iscsi failing with "Failed to add data store" and log > shows nullPointerException > Management Server Log: > 2014-07-02 11:32:49,504 DEBUG > [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] > (1501785494@qtp-1004950349-6:ctx-966a5b97 ctx-7e89c3e9 ctx-fcfd86a0) > createPool Par > ams @ scheme - iscsi storageHost - 172.16.88.27 hostPath - > /iqn.2006-01.com.openfiler:tsn.b7c10b2d6ab6 port - -1 > 2014-07-02 11:32:49,505 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-40:ctx-d91132bb) Seq 2-177610710304424049: Executing request > 2014-07-02 11:32:49,509 DEBUG [c.c.s.StorageManagerImpl] > (1501785494@qtp-1004950349-6:ctx-966a5b97 ctx-7e89c3e9 ctx-fcfd86a0) Failed > to add data store: null > java.lang.NullPointerException > at > org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.initialize(CloudStackPrimaryDataStoreLifeCycleImpl.java:263) > at > com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:666) > at > com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:178) > at > org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:163) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511) > at > com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) > at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) > at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) > at > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > 2014-07-02 11:32:49,510 INFO [c.c.a.ApiServer] > (1501785494@qtp-1004950349-6:ctx-966a5b97 ctx-7e89c3e9 ctx-fcfd86a0) Failed > to add data store: null -- This message was sent by Atlassian JIRA (v6.2#6252)