Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Lithium integration with Openstack Juno

asked 2015-07-02 02:53:55 -0700

fldu gravatar image

updated 2015-07-02 06:57:52 -0700

Hi everyone,

After successfully integrating ODL Helium SR3 with Openstack Juno, I want to give Lithium a try to see if some of the issues were fixed. I have setup Lithium in the same way as Helium, installing the following features:

opendaylight-user@root> feature:install odl-base-all odl-aaa-authn odl-restconf \
odl-nsf-all odl-adsal-northbound odl-mdsal-apidocs \
odl-ovsdb-openstack odl-ovsdb-northbound odl-dlux-core

This is per the instructions found along with Lithium archive on the download site: (one thing to note is that this document is actually created for Helium SR2)

But something is not working as expected. When I connect an Openstack node to ODL, by:

ovs-vsctl set-manager tcp:${CONTROL_HOST}:6640

I do not see 'br-int' created. Looking at Karaf logs (TRACE enabled on ovsdb) I only see this when a node is found:

2015-07-01 15:03:12,115 | INFO  | entLoopGroup-7-1 | LoggingHandler                   | 150 - io.netty.common - 4.0.26.Final | [id: 0xb2b4a22b, /0:0:0:0:0:0:0:0:6640] RECEIVED: [id: 0xac78804e, / => /]
2015-07-01 15:03:12,117 | DEBUG | entLoopGroup-8-1 | OvsdbConnectionService           | 394 - 

    org.opendaylight.ovsdb.library - 1.1.0.Lithium | New Passive channel created : [id: 0xac78804e, / => /]
    2015-07-01 15:03:12,130 | DEBUG | pool-39-thread-1 | OvsdbConnectionService           | 394 - org.opendaylight.ovsdb.library - 1.1.0.Lithium | Notify listener
    2015-07-01 15:03:12,228 | INFO  | Thread-184       | ConnectionServiceImpl            | 397 - org.opendaylight.ovsdb.plugin - 1.1.0.Lithium | Initialize inventory for org.opendaylight.ovsdb.plugin.api.Connection@1d2a33bd
    2015-07-01 15:03:12,244 | INFO  | Thread-184       | ConnectionServiceImpl            | 397 - org.opendaylight.ovsdb.plugin - 1.1.0.Lithium | Notifying Inventory Listeners for Node Added: Node [_id=Uri [_value=OVS|], _key=NodeKey [_id=Uri [_value=OVS|]], augmentation=[]]

I could see a lot more in Helium showing 'br-int' was created and default pipeline flows installed. Also DLUX interface shows only a blank topology screen.

Does anyone know if I am missing some features ? Has anything changed in Lithium in the way it integrates with Openstack ?

Thank you !

edit retag flag offensive close merge delete


The feature list in the doc has changed. For Lithium all you need to install is the odl-ovsdb-openstack feature. Ignore all the other features listed in that long install command.

shague ( 2015-07-07 05:14:50 -0700 )edit

Thank you @shague after removing odl-ovsdb-northbound feature, integration seems to work.

mskalski ( 2015-07-07 09:08:02 -0700 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2015-07-07 22:58:26 -0700

fldu gravatar image

updated 2015-07-07 23:11:55 -0700

As per @shague comment: "For Lithium all you need to install is the odl-ovsdb-openstack feature. "

Many thanks @shague for clarifying this. I also found some useful information in the Lithium Integration Test wiki page: Incompatibilities

It would be nice to have the doc updated for Lithium.

edit flag offensive delete publish link more

answered 2015-09-02 06:33:59 -0700

NareshA gravatar image

I have reached the stage where I could see some flows in br-int.

vagrant@oscontroller1:~$ dump OFPSTFLOW reply (OF1.3) (xid=0x2): cookie=0x0, duration=3211.808s, table=0, npackets=0, nbytes=0, dltype=0x88ccactions=CONTROLLER:65535 cookie=0x0, duration=3212.851s,table=0, npackets=4, nbytes=320,priority=0 actions=gototable:20 cookie=0x0, duration=3212.851s,table=20, npackets=4, nbytes=320, priority=0 actions=gototable:30 cookie=0x0, duration=3212.851s, table=30, npackets=0, nbytes=0,priority=0 actions=gototable:40 cookie=0x0, duration=3212.851s, table=40, npackets=0, nbytes=0, priority=0 actions=gototable:50 cookie=0x0, duration=3212.851s, table=50, npackets=0, nbytes=0, priority=0 actions=gototable:60 cookie=0x0, duration=3212.851s, table=60, npackets=0, nbytes=0, priority=0 actions=gototable:70 cookie=0x0, duration=3212.851s, table=70, npackets=0, nbytes=0, priority=0 actions=gototable:80 cookie=0x0, duration=3212.851s, table=80, npackets=0, nbytes=0, priority=0 actions=gototable:90 cookie=0x0, duration=3212.851s, table=90, npackets=0, nbytes=0, priority=0 actions=gototable:100 cookie=0x0, duration=3212.851s, table=100, npackets=0, nbytes=0, priority=0 actions=gototable:110 cookie=0x0, duration=3212.851s, table=110, npackets=0, nbytes=0, priority=0 actions=drop

But while spwanning the vm in openstack its throwing an error saying

No Host found


When I checked the vxlan tunnels are not created though the openstack sends a VM update request to ODL.

POC Info:

  1. Integrating Juno-Lithium
  2. Used puppet to install openstack
  3. 4 node setup : 1controller,1network,1compute,1ODL
  4. ovs version is 2.0.2
  5. However "curl -u admin:admin http://${CONTROL_HOST}:8080/controller/nb/v2/neutron/ networks" returns { "networks" : [ ] }

What am I missing here. Is this again has anything to do with Lithium? Please help me out.

edit flag offensive delete publish link more


Now I am able to spwan the VM successfully. But it is not getting ip and still Sending Discoverry... vxlan tunnels are not created. What am I missing?

NareshA ( 2015-09-02 23:17:03 -0700 )edit

After upgrading ovs to 2.3.0, the vxlan tunnels are getting created. Thanks to Vishal Thapar.

NareshA ( 2015-09-03 03:40:29 -0700 )edit

Hi, I didn't use the setup with VXLAN, only GRE so far. I was about to ask if you checked /var/log/openvswitch/ovs-vswitchd.log for any errors. Do you know what the problem was in older OVS and how 2.3.0 fixed it ? Thank you !

fldu ( 2015-09-11 00:28:40 -0700 )edit

answered 2015-12-27 21:44:48 -0700

This could help :-)

Thanks, vinoth

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools



Asked: 2015-07-02 02:53:55 -0700

Seen: 894 times

Last updated: Dec 27 '15