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 install on Ubuntu 14.04 - service openvswitch-switch

asked 2015-07-10 05:40:19 -0700

bmullan gravatar image

updated 2015-07-10 05:40:57 -0700

Using the instructions on this URL to install ODL Lithium on ubuntu 14.04:

In the instructions there are 2 statements concerning first Stopping then Starting the service openvswitch-switch

  • Lesson Learned: Prevent exception. We need to stop openvswitch if it's running! Otherwise we'll get a "bind to address already in use" error.
  • # sudo service openvswitch-switch stop

then later the instructions say to sudo service openvswitch-switch stop

Either the service openvswitch-switch has been renamed or is obsolete but these commands don't appear to do anything with that "service" name... ?? - or - the installation script fails to install "openvswitch-switch".

Anyone know what is correct here?

edit retag flag offensive close merge delete


What auto-complete options do you get when you do `sudo service openvswitch-` and press `TAB`?

Vishal Thapar ( 2015-07-10 22:43:21 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-07-11 06:45:18 -0700

runamuck gravatar image

updated 2015-07-11 07:22:50 -0700

I edited the Ubuntu 14.04 install wiki to address the "missing openvswitch-switch" issue.

edit flag offensive delete publish link more


Thanks... I know how to install ovs via apt-get but ubuntu's (14.04) repository only has v2.01 of OVS and the latest is OVS 2.2.3. I was asking the question for 2 reasons... both documentation related

bmullan ( 2015-07-11 07:04:38 -0700 )edit

1) An ubuntu newbie might not know how to install ovs at all or that it can even be installed via apt-get they might assume the OVS installation was part of one of the earlier documented steps in the ODL install

bmullan ( 2015-07-11 07:06:08 -0700 )edit

2) I wasn't sure if Lithium actually might require OVS 2.2.3 for some reason and maybe v2.0.1 was missing some capability/feature. My point is that if OVS is a requirement to install ODL Lithium the install step for OVS should be included in the Documentation for installing ODL on Ubuntu 14.04.

bmullan ( 2015-07-11 07:07:49 -0700 )edit

The Documentation for installing ODL on Ubuntu 14.04 should include the above steps I think?

bmullan ( 2015-07-11 07:09:06 -0700 )edit

1) I updated the wiki to address the openvswitch-switch issue. 2) I recommend you ask a new question in regards to OVS2.0.1 vs 2.2.3, because that's a complicated answer! :-)

runamuck ( 2015-07-11 07:22:17 -0700 )edit

answered 2015-07-11 06:16:12 -0700

bmullan gravatar image

sudo service openswitch- <tab> shows nothing.</tab>

I think this is just a documentation error where it never instructs the user to install OVS ?

In the link:

I didn't see any "apt-get install" for OVS and i didn't see any wget of Source followed by build/install instructions.

Unless OVS is somehow installed thru one of the other commands on that web page I think that the reason I can't start or stop the OVS service is because it was never installed?


edit flag offensive delete publish link more


The above "assumes" that "feature:install odl-l2switch-switch-ui" doesn't or isn't supposed to install OVS?

bmullan ( 2015-07-11 06:38:32 -0700 )edit

Also... just checked the ODL install guide for OpFlex Agent-OVS required pkgs: In ubuntu 14.04... Does exist in Ubuntu repositories: libuv0.10 version 0.10.22.-2 Does NOT exist in Ubuntu repositories: openvswitch-gbp openvswitch-gbp-lib openvswitch-gbp-kmod libopflex libmodelgbp agent-ovs

bmullan ( 2015-07-11 06:51:09 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-07-10 05:40:19 -0700

Seen: 1,247 times

Last updated: Jul 11 '15