You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Koushik Das (JIRA)" <ji...@apache.org> on 2014/06/27 17:43:25 UTC

[jira] [Commented] (CLOUDSTACK-6999) Creating storage pool failing with simulator with NullPointerException

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046076#comment-14046076 ] 

Koushik Das commented on CLOUDSTACK-6999:
-----------------------------------------

The test is related to iscsi. Why is this running with simulator?

> Creating storage pool failing with simulator with NullPointerException
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6999
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6999
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Simulator
>    Affects Versions: 4.4.0
>         Environment: Simulator
>            Reporter: Gaurav Aradhye
>              Labels: automation, simulator
>             Fix For: 4.4.0
>
>
> test_01_primary_storage_iscsi failing due to this.
> Log:
> 2014-06-25 20:15:59,952 DEBUG [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (1620500439@qtp-937650164-7:ctx-8360ebb1 ctx-7a8161ac ctx-3aaf2686) createPool Para
> ms @ scheme - iscsi storageHost - 172.16.88.27 hostPath - /iqn.2006-01.com.openfiler:tsn.b7c10b2d6ab6 port - -1
> 2014-06-25 20:15:59,972 DEBUG [c.c.a.ApiServlet] (277793082@qtp-937650164-8:ctx-beafdd28 ctx-f3cc7056 ctx-9b4f7c82) ===END===  172.16.88.7 -- GET  username=test-accoun
> t-TestReleaseIP-test_delete_account-806IFK&domainid=5caac9be-fcde-11e3-89a0-00163e0af42c&firstname=test&lastname=test&email=test-account%40test.com&apiKey=js8xe3_Av3Yz
> nD5n-7c1_atVWE8RTzu0HSmGUsjfWNyXigOWgB8FL0VBNgIv7S9U0wm7vYFb2gmQwY9O3ZaV3w&command=createAccount&accounttype=2&signature=vopZJ5wHC0zIurr1geOWk%2FupGVo%3D&response=json
> 2014-06-25 20:15:59,977 DEBUG [c.c.s.StorageManagerImpl] (1620500439@qtp-937650164-7:ctx-8360ebb1 ctx-7a8161ac ctx-3aaf2686) 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-06-25 20:15:59,978 INFO  [c.c.a.ApiServer] (1620500439@qtp-937650164-7:ctx-8360ebb1 ctx-7a8161ac ctx-3aaf2686) Failed to add data store: null
> 2014-06-25 20:15:59,984 DEBUG [c.c.a.ApiServlet] (1620500439@qtp-937650164-7:ctx-8360ebb1 ctx-7a8161ac ctx-3aaf2686) ===END===  172.16.88.7 -- GET  apiKey=js8xe3_Av3Yz
> nD5n-7c1_atVWE8RTzu0HSmGUsjfWNyXigOWgB8FL0VBNgIv7S9U0wm7vYFb2gmQwY9O3ZaV3w&name=Primary+iSCSI&podid=c230af61-4517-46d2-940b-541d1cbf26f7&url=iscsi%3A%2F%2F172.16.88.27
> %2Fiqn.2006-01.com.openfiler%3Atsn.b7c10b2d6ab6&clusterid=4e60a144-a70e-40f6-a812-811d971e66e9&zoneid=38a25f5f-d62f-40e4-9b06-386b86230fc5&command=createStoragePool&si
> gnature=8bKIm6bKGJIUDREPWcJNkxfdwoM%3D&response=json



--
This message was sent by Atlassian JIRA
(v6.2#6252)