[ovs-discuss] changing path for startup

Rajasekaran, Monica Monica.Rajasekaran at us.fujitsu.com
Wed Jun 22 20:16:53 UTC 2016


Okay, the ovs I had before this was 2.5.0. Which was pretty much perfect.

The one I have now on standalone hardware with Yocto is openvswitch-2.0.0 (Due to some reason). Does this version not talk Openflow 1.3? 

Should I enable openflow13 for my bridge explicitly like this ? :

	ovs-vsctl set bridge br0 protocols=openflow10,openflow12,openflow13

Thanks,
Monica 


-----Original Message-----
From: Ben Pfaff [mailto:blp at ovn.org] 
Sent: Wednesday, June 22, 2016 3:07 PM
To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] changing path for startup

Type 16, stat 12 is undefined in OpenFlow 1.0 (version 1).  In OpenFlow
1.3 it is OFPST_TABLE_FEATURES_REQUEST.  Maybe the controller is trying to make that request in version 1.0; it's not going to work there.

Just a guess though.

On Wed, Jun 22, 2016 at 06:49:03PM +0000, Rajasekaran, Monica wrote:
> Thanks Ben!
> 
> Do you know what might cause this message ? Type 16 is for statistics right ?
> 
> 2016-06-23T00:41:55Z|00025|ofp_msgs|WARN|unknown OpenFlow message 
> (version 1, type 16, stat 12)
> 
> It happens after my OVS is connected to the controller. Also sends out a bad response after this.
> 
> Thanks,
> Monica
> 
> 
> -----Original Message-----
> From: Ben Pfaff [mailto:blp at ovn.org]
> Sent: Wednesday, June 22, 2016 12:42 PM
> To: Rajasekaran, Monica <Monica.Rajasekaran at us.fujitsu.com>
> Cc: discuss at openvswitch.org
> Subject: Re: [ovs-discuss] changing path for startup
> 
> On Wed, Jun 22, 2016 at 04:17:38PM +0000, Rajasekaran, Monica wrote:
> > Hi,
> > 
> > I built ovs along with Yocto, have it running inside my target hardware.
> > 
> > When I start ovs by starting ovsdb server, vsctl and vswitchd, it gives me the following error messages:
> > 
> > When I start ovsdb server,
> > 
> > 2016-06-22T23:54:25Z|00001|fatal_signal|WARN|could not unlink 
> > "/usr/local/var/run/openvswitch/db.sock" (No such file or directory)
> > 2016-06-22T23:54:25Z|00002|stream_unix|ERR|/usr/local/var/run/openvs
> > witch/db.sock: binding failed: No such file or directory
> > 2016-06-22T23:54:25Z|00003|ovsdb_jsonrpc_server|ERR|punix:/usr/local
> > /var/run/openvswitch/db.sock: listen failed: No such file or 
> > directory
> > 
> > When I start vsctl,
> > 
> > 2016-06-22T23:54:50Z|00003|reconnect|WARN|unix:/var/run/openvswitch/
> > db.sock: connection attempt failed (No such file or directory)
> > ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection 
> > failed (No such file or directory)
> > 
> > When I start vswitchd,
> > 
> > 2016-06-22T23:55:14Z|00003|reconnect|WARN|unix:/var/run/openvswitch/
> > db.sock: connection attempt failed (No such file or directory)
> > 
> > The problem is that it is looking for db.sock and the pid files at "/usr/local/var/run/openvswitch" but actually it should be looking into "/var/run/openvswitch" in Yocto. How do I change this ?? Or will creating a symlink work?
> 
> INSTALL.md says:
> 
>     By default all files are installed under /usr/local.  Open vSwitch also
>     expects to find its database in /usr/local/etc/openvswitch by default.
>     If you want to install all files into, e.g., /usr and /var instead of
>     /usr/local and /usr/local/var and expect to use /etc/openvswitch as the default
>     database directory, add options as shown here:
> 
>           `% ./configure --prefix=/usr --localstatedir=/var 
> --sysconfdir=/etc`



More information about the discuss mailing list