[VTN-82] VTN Manager failed to create network in devstack(stable/kilo) Created: 24/Aug/15  Updated: 19/Oct/17  Resolved: 30/Sep/15

Status: Resolved
Project: vtn
Component/s: VTN Manager
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Bharathi M Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4172

 Description   

Reproduce the issue:

i)git clone https://git.openstack.org/openstack-dev/devstack;
ii)git checkout stable/kilo
iii)Create local.conf file and add this line "enable_plugin networking-odl https://github.com/flavio-fernandes/networking-odl lithiumkilo”.
iv)Start VTN Manager and install this feature "feature:install odl-vtn-manager-neutron".
v)Start devstack using "./stack.sh" script. Network create fails with the below error message in VTN MAnager logs,

VBridge[name=63dac4734e50e84b0420fd5fbc8ade7,desc=private,ageInterval=600,faults=0,state=UNKNOWN]
2015-08-19 15:59:22,704 | ERROR | p1058729785-3412 | ContainerResponse | 218 - 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.NeutronSecurityGroupsNorthbound.createSecurityGroups(NeutronSecurityGroupsNorthbound.java:196)[246:org.opendaylight.neutron.northbound-api:0.5.0.Lithium]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_79]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[218:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[218:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[218:com.sun.jersey.jersey-server:1.17.0]



 Comments   
Comment by Bharathi M [ 25/Aug/15 ]

Issue Scenario:

Network creation fails in VTN Manager because it failed to create Neutron Security groups in VTN Manager.

Reproduce the issue:

i)git clone https://git.openstack.org/openstack-dev/devstack;
ii)git checkout stable/kilo
iii)Start VTN Manager and install this feature "feature:install odl-vtn-manager-neutron".
iv)Start devstack using "./stack.sh" script. Network create fails with the below error message in VTN Manager logs,

VBridge[name=63dac4734e50e84b0420fd5fbc8ade7,desc=private,ageInterval=600,faults=0,state=UNKNOWN]
2015-08-19 15:59:22,704 | ERROR | p1058729785-3412 | ContainerResponse | 218 - 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.NeutronSecurityGroupsNorthbound.createSecurityGroups(NeutronSecurityGroupsNorthbound.java:196)[246:org.opendaylight.neutron.northbound-api:0.5.0.Lithium]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_79]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[218:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[218:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[218:com.sun.jersey.jersey-server:1.17.0]

Comment by Bharathi M [ 26/Aug/15 ]

Using Flavio's url "https://github.com/flavio-fernandes/networking-odl lithiumkilo" in local.conf file you can able to create Networks in VTN Manager so you cannot reproduce the above issue.

Comment by Hideyuki Tai [ 26/Aug/15 ]

(In reply to Bharathi M from comment #0)
> Reproduce the issue:
>
> i)git clone https://git.openstack.org/openstack-dev/devstack;
> ii)git checkout stable/kilo
> iii)Create local.conf file and add this line "enable_plugin networking-odl
> https://github.com/flavio-fernandes/networking-odl lithiumkilo”.
> iv)Start VTN Manager and install this feature "feature:install
> odl-vtn-manager-neutron".
> v)Start devstack using "./stack.sh" script. Network create fails with the
> below error message in VTN MAnager logs,
>

The procedure to reproduce the issue in the comment #0 (Description) of this bug report is wrong.
As Bharathi mentioned in the Comment #2, using the "github.com/flavio-fernandes/networking-odl" is a workaround for the issue.

To reproduce the issue, please check the procedure in the comment #1.

Generated at Wed Feb 07 20:47:58 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.