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


ODL lithium not listening on required ports

asked 2015-07-13 11:30:39 -0700

anonymous user



Can anyone please advise on the following issue's I am seeing regarding my VTN installation on Lithium. I have recently installed Lithium on a Fedora 21 server vm and installed the below Karaf features:

feature:install odl-vtn-manager-rest odl-openflowplugin-all odl-adsal-all odl-vtn-manager odl-vtn-manager-neutron odl-dlux-all odl-restconf-all odl-l2switch-switch odl-nsf-all odl-aaa-authn odl-mdsal-apidocs odl-ovsdb-all odl-base-all

I have installed all the above because I would like to use DLUX + mininet with the Lithium/VTN. I have previously installed Karaf features in various configurations as I have seeing from previous bugs (such as bug 2439 in Helium) that the order of installation can be important. However none of the configurations I tried have worked so far, so I finally went for the above approach of installing everything that I thought may be necessary.

The particular issues I am seeing when I run ODL (with ./bin/karaf) is that I cannot connect to ODL, either from mininet or the DLUX web interface



I manually installed and started openvswitch before running ODL, but when I grep for connected ports, the required ports are not connected/listening. As I understand it, the ODL/VTN Manager should be listening on ports 6633, 6653, 6650 & 8181 but only 6633 is connected.

Results from grepping port numbers #lsof -iTCP | grep 66 java 1040 root 346u IPv6 21109 0t0 TCP *:6633 (LISTEN)

lsof -iTCP | grep 81

java 1040 root 360u IPv6 21116 0t0 TCP *:8185 (LISTEN) ovsdb-ser 1679 root 18u IPv4 25175 0t0 TCP odlcontrol2:40816-> (SYN_SENT)

For sanity checks, I have confirmed that the ODL and mininet hosts can ping each other, so I believe connectivity between the vm's is fine, it just seems to be the ports for openv/ovsdb?

Incidentally I have previously successfully installed VTN Manager and Coordinator on seperate Ubuntu 14.04 vm's but there is a known issue regarding the topology view/size in Helium so I was hoping to install Lithium to amend this.

Below are the guides I followed for installing VTN manager/coordinator + DLUX and mininet
VirtualTenantNetwork(VTN):Installation:VTN Coordinator

Any advice or help with this issue would be appreciated,

edit retag flag offensive close merge delete


Check you don't have a firewall (iptables) setup.

Chris O'Shea ( 2015-07-14 00:11:36 -0700 )edit

I've stopped the firewall and disabled selinux but unfortunately its still not listening on the required ports. I think its just not picking up the installed Karaf features (although I'm no expert in Linux or ODL), or it could be the order I have them installed in. Its odd, I had more success installing this on Ubuntu 14.04 even though the documentation doesn't reference Ubuntu as a supported OS for ODL/VTN manager? The problem with the Ubuntu installation is that the VTN Manager doesn't work as expected (i.e. mininet flows reach the controller without the need to set up a VTN)

Ufuntu ( 2015-07-14 04:42:30 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-07-14 09:54:55 -0700

jamoluhrsen gravatar image

Try just installing these two features:

odl-vtn-manager and odl-dlux-all

I have a fedora22 instance and with those two features, I see port 6633 and 8181 light up. I was able to access the GUI with a browser as well. I did not check any switch connection.

It could be some corner case issue you are hitting by installing all the features in some specific order. just installing odl-vtn-manager will bring in all the openflow, restconf, etc that you need.

edit flag offensive delete publish link more


I tried this suggestion on Fedora21 but it's still not listening on correct ports? However, I also tried this on my Ubuntu installation and it did fix the issue between mininet and ODL (i.e. mininet can connect to ODL but correctly fails to ping/install flows without the instantiation of a VTN).

Ufuntu ( 2015-07-14 14:07:06 -0700 )edit

cont. However when I tried to create a VTN in vtn coordinator it could not connect to the controller. When I check the controller status I am receiving "operstatus:down". If I can figure this out and get everything communicating, I will mark this answer as correct. Cheers for the suggestion

Ufuntu ( 2015-07-14 14:11:35 -0700 )edit

@jamoluhrsen@Ufuntu Hi, I installed odl-vtn-manager and odl-dlux-all but it did not open port 6633 for me. I am on ubuntu14. Do I need to install additional features for that or make changes in a config files?

sankettandulwadkar ( 2015-08-12 11:58:54 -0700 )edit

Hi, have you installed Open vSwitch on the (I assume) vm that is running ODL? - sudo apt-get install openvswitch-switch

Ufuntu ( 2015-08-13 07:27:00 -0700 )edit

@Ufuntu, Hi, no they are on separate VMs. - OvS - ODL Trying to connect .1 to .2 using SSL. But yes, I have openvswitch-switch installed on both the VMs. Do I need to install the other openvswtich packages like openvswitch-controller? Or is it different if my OvS is on a different VM?

sankettandulwadkar ( 2015-08-13 08:46:40 -0700 )edit

answered 2015-07-16 10:17:27 -0700

gvrangan gravatar image

updated 2015-07-16 14:18:55 -0700


thanks for trying out. there are no platform restrictions for using the opendaylight controller. The platform restrictions are only for VTN Coordinator. The problems could be if mininet is working on the same server there is a chance that openvswitch controller is running that will use the openflow ports. This is just a hint.

The port:8282 is used by vtn coordiantor to communicate to vtn Manager. Please ensure 8282 is up and the ODL is listening to it.

the features: odl-vtn-manager-rest should be installed to ensure that the REST API works and also to try oout the scenarios

For further discussion Please join the #opendaylight-vtn channel in irc.

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


Asked: 2015-07-13 11:30:39 -0700

Seen: 2,746 times

Last updated: Jul 16 '15