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

Prasanna Santhanam commented on CLOUDSTACK-2915:
------------------------------------------------

~/workspace/cloudstack/incubator-cloudstack(branch:master*) ยป nosetests 
--with-marvin --marvin-config=setup/dev/advanced.cfg 
test/integration/component/test_vpc_network_pfrules.py --load                   
                   tsp@cloud-2
Test : Create VPC PF rules on acquired public ip when VpcVirtualRouter is 
stopped ... ERROR
Test Create VPC PF rules on acquired public ip when VpcVirtualRouter is Running 
... ERROR
Test Create multiple VPC PF rules on acquired public ip in diff't networks when 
VpcVirtualRouter is stopped ... ERROR
Test Create multiple VPC PF rules on acquired public ip in diff't networks when 
VpcVirtualRouter is running ... ERROR
Test delete a PF rule in VPC when VpcVirtualRouter is Stopped ... ERROR
Test delete a PF rule in VPC when VpcVirtualRouter is Running ... ERROR
Test delete all PF rules in VPC when VpcVirtualRouter is Stopped ... ERROR
Test delete all PF rules in VPC when VpcVirtualRouter is Running ... ERROR
Test delete all PF rules in VPC across multiple networks when VpcVirtualRouter 
is Stopped ... ERROR
Test delete all PF rules in VPC across multiple networks when VpcVirtualRouter 
is Running ... ERROR


All the above and more VPC tests fail because of the NPE
                
> NPE when creating network ACL item
> ----------------------------------
>
>                 Key: CLOUDSTACK-2915
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2915
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>            Reporter: Prasanna Santhanam
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> On creating a network ACL item following NPE is encountered and network ACL 
> creation fails
> 2013-06-10 12:12:59,172 DEBUG [cloud.api.ApiServlet] 
> (1886622491@qtp-675153853-10:null) ===START===  0:0:0:0:0:0:0:1%0 -- GET  
> networkid=84182b2d-52c0-4f47-bdf3-11df09cbd022&apiKey=tXflShMkw-k6smFTwQZ3Dq4MoyZNQzy2YqEU3STFIPdAEua9hSuLkldDG7AaJaYWKcaobhvMpLmk6v26X-j1fw&protocol=TCP&endport=2222&cidrlist=0.0.0.0%2F0&traffictype=Ingress&command=createNetworkACL&signature=MLJVyCeko3NydqcbEku833c9aOg%3D&action=Allow&startport=22&response=json
> 2013-06-10 12:12:59,194 ERROR [cloud.api.ApiServer] 
> (1886622491@qtp-675153853-10:null) unhandled exception executing api command: 
> createNetworkACL
> java.lang.NullPointerException
>       at 
> com.cloud.network.vpc.NetworkACLServiceImpl.createNetworkACLItem(NetworkACLServiceImpl.java:252)
>       at 
> org.apache.cloudstack.api.command.user.network.CreateNetworkACLCmd.create(CreateNetworkACLCmd.java:213)
>       at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:101)
>       at com.cloud.api.ApiServer.queueCommand(ApiServer.java:475)
>       at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371)
>       at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>       at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>       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)
> 2013-06-10 12:12:59,195 DEBUG [cloud.api.ApiServlet] 
> (1886622491@qtp-675153853-10:null) ===END===  0:0:0:0:0:0:0:1%0 -- GET  
> networkid=84182b2d-52c0-4f47-bdf3-11df09cbd022&apiKey=tXflShMkw-k6smFTwQZ3Dq4MoyZNQzy2YqEU3STFIPdAEua9hSuLkldDG7AaJaYWKcaobhvMpLmk6v26X-j1fw&protocol=TCP&endport=2222&cidrlist=0.0.0.0%2F0&traffictype=Ingress&command=createNetworkACL&signature=MLJVyCeko3NydqcbEku833c9aOg%3D&action=Allow&startport=22&response=json

--
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

Reply via email to