[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

edison su resolved CLOUDSTACK-7226.
-----------------------------------

    Resolution: Fixed

There are several issues:
1. KVM doesn't support ISCSI primary storage
2. the ISCSI host path is incorrect, no LUN number provided.
Assume above two are intentional for test?
3. Management server doesn't report error, I added a fix for it.

> [Automation] NPE observed in the KVM automation runs
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-7226
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7226
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.5.0
>         Environment: CI
>            Reporter: Raja Pullela
>            Assignee: edison su
>            Priority: Critical
>
> Following NPE is observed in the management server log for the CI KVM 
> automation run:
> 2014-08-01 03:13:09,621 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] 
> (1667398548@qtp-818975168-5:ctx-cb866c4b ctx-b84df4f2 ctx-536903c0) Refusing 
> to design this network
> 2014-08-01 03:13:09,627 DEBUG 
> [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] 
> (1297150826@qtp-818975168-4:ctx-7a58c13a ctx-375f885a ctx-04743be3) 
> createPool Params @ scheme - iscsi storageHost - 172.16.88.27 hostPath - 
> /iqn.2006-01.com.openfiler:tsn.b7c10b2d6ab6 port - -1
> 2014-08-01 03:13:09,628 DEBUG [c.c.s.StorageManagerImpl] 
> (1297150826@qtp-818975168-4:ctx-7a58c13a ctx-375f885a ctx-04743be3) 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:676)
>       at 
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:179)
>       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:694)
>       at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517)
>       at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:317)
>       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-08-01 03:13:09,630 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru] 
> (1667398548@qtp-818975168-5:ctx-cb866c4b ctx-b84df4f2 ctx-536903c0) Refusing 
> to design this network
> 2014-08-01 03:13:09,639 DEBUG [c.c.n.g.OvsGuestNetworkGuru] 
> (1667398548@qtp-818975168-5:ctx-cb866c4b ctx-b84df4f2 ctx-536903c0) Refusing 
> to design this network
> 2014-08-01 03:13:09,641 INFO  [c.c.a.ApiServer] 
> (1297150826@qtp-818975168-4:ctx-7a58c13a ctx-375f885a ctx-04743be3) Failed to 
> add data store: null
> 2014-08-01 03:13:09,642 DEBUG [c.c.a.ApiServlet] 
> (1297150826@qtp-818975168-4:ctx-7a58c13a ctx-375f885a ctx-04743be3) ===END=== 
>  172.16.88.7 -- GET  
> apiKey=JCoa_7IYgAnA5APHxZuYs7S0qe5YH1RQka4Zv6QadT3eJTQCPNKK8w61y_8kWyb6P1v6qu_Yc0VhfHydnC05jw&name=Primary+iSCSI&podid=eb2c7ddd-04f2-4326-8b6c-e11742c34cb3&url=iscsi%3A%2F



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

Reply via email to