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:b...@ovn.org] 
> Sent: Wednesday, June 22, 2016 12:42 PM
> To: Rajasekaran, Monica <monica.rajaseka...@us.fujitsu.com>
> Cc: discuss@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/openvswitch/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`
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to