← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546422] Re: secgroup in v1 driver could not work in lithium

 

** Changed in: neutron
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1546422

Title:
  secgroup in v1 driver could not work in lithium

Status in networking-odl:
  New
Status in neutron:
  Won't Fix

Bug description:
  Can not reproduce it in beryllium-rc3.1

  why CI not find it:
  sync_from_callback will reraise the error return from sendjson, but because notify in ./neutron/callbacks/manager.py ingnored this error(just work on BEFORE/PRECOMMIT), so no error will be returned to user like tempest test case.

  I think we need update the neutron code and also find the real reason
  in opendaylight/networking-odl.

  how to reproduce:
  #neutron security-group-create abc

  log in q-svc.log
  2016-02-17 07:33:32.570 DEBUG networking_odl.common.client [req-22d86d88-429e-4ad0-ae28-9a581f1c490f tempest-SecGroupIPv6Test-800897536 5b9a2d254b9c4891ad0b280877acafcf] Exception from ODL: 500 Server Error: Server Error for url: http://192.168.2.159:8087/controller/nb/v2/neutron/security-groups <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
  <title>Error 500 Server Error</title>
  </head>
  <body><h2>HTTP ERROR 500</h2>
  <p>Problem accessing /controller/nb/v2/neutron/security-groups. Reason:
  <pre>    Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
          at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
          at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:1016)
          at org.opendaylight.neutron.transcriber.NeutronSecurityGroupInterface.neutronSecurityGroupExists(NeutronSecurityGroupInterface.java:75)
          at org.opendaylight.neutron.transcriber.NeutronSecurityGroupInterface.getNeutronSecurityGroup(NeutronSecurityGroupInterface.java:80)
          at org.opendaylight.neutron.transcriber.NeutronSecurityRuleInterface.updateSecGroupRuleInSecurityGroup(NeutronSecurityRuleInterface.java:75)
          at org.opendaylight.neutron.transcriber.NeutronSecurityRuleInterface.addNeutronSecurityRule(NeutronSecurityRuleInterface.java:136)
          at org.opendaylight.neutron.transcriber.NeutronSecurityGroupInterface.addNeutronSecurityGroup(NeutronSecurityGroupInterface.java:107)
          at org.opendaylight.neutron.northbound.api.NeutronSecurityGroupsNorthbound.createSecurityGroups(NeutronSecurityGroupsNorthbound.java:203)
          at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
          at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
          at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
          at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
          at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
          at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
          at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
          at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
          at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
          at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
          at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
          at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
          at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
          at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
          at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)
          at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
          at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
          at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
          at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
          at org.eclipse.jetty.server.Server.handle(Server.java:370)
          at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
          at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
          at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
          at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
          at java.lang.Thread.run(Thread.java:745)

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-odl/+bug/1546422/+subscriptions