Neutron ml2 plugin + odl neutron northbound interface

asked 2016-11-09 12:19:56 -0500

yannb gravatar image

Hi!

We are currently trying to implement a southbound interface in ODL for the northbound neutron interface.

When we call from OpenStack a creation of network, neutron ml2 plugin connect via the REST api to the odl northbound interface. However the first call is a get which works fine but the second one the POST (create network) fails with a 503 (Service Unavailable).

The body of the reply contains: Couldn't get providers list. Please try again later

It seems it try to load a service and it fails.

Can any of you can help us or forward us to documentation to understand how it works?

Thanks

Here is the stack:

  2016-11-09 13:01:36,117 | ERROR | qtp777052741-79  | ContainerResponse                | 190 - com.sun.jersey.jersey-server - 1.17.0 | Mapped exception to response: 503 (Service Unavailable)
org.opendaylight.neutron.northbound.api.ServiceUnavailableException
    at org.opendaylight.neutron.northbound.api.AbstractNeutronNorthboundIAware.create(AbstractNeutronNorthboundIAware.java:61)[254:org.opendaylight.neutron.northbound-api:0.6.1.Beryllium-SR1]
    at org.opendaylight.neutron.northbound.api.NeutronNetworksNorthbound.createNetworks(NeutronNetworksNorthbound.java:239)[254:org.opendaylight.neutron.northbound-api:0.6.1.Beryllium-SR1]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_111]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_111]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_111]
    at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_111]
    at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[190:com.sun.jersey.jersey-server:1.17.0]
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[227:com.sun.jersey.servlet:1.17.0]
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[227:com.sun.jersey.servlet:1.17.0]
    at com.sun.jersey.spi.container.servlet ...
(more)
edit retag flag offensive close merge delete