[ovs-discuss] brcompatd: "could not find valid configuration to update" error

Lee, Jeongkeun jklee at hp.com
Wed Mar 24 21:27:46 UTC 2010


Today, I downloaded the latest snapshot from git and followed the instructions of INSTALL.bridge and INSTALL.Linux to use ovs as a replacement of Linux bridge.
OVS version is 0.99.2 and kernel is 2.6.26-2-amd64 on Debian lenny 5.03.

Below are the commands that I ran after 'make install' completed. ovsdb-server, ovs-vswitchd, and ovs-brcompatd were called in separate shells to see the messages.

% insmod datapath/linux-2.6/openvswitch_mod.ko
% insmod datapath/linux-2.6/brcompat_mod.ko
% ovsdb-tool create /etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema
% ovsdb-server /etc/ovs-vswitchd.conf.db --remote=punix:/var/run/ovsdb-server
% ovs-vswitchd -vANY:console:WARN unix:/var/run/ovsdb-server
% ovs-brcompatd -vANY:console:WARN unix:/var/run/ovsdb-server

ovsdb-server shows messages saying ovs-vswitchd and ovs-brcompatd are connected 
and ovs-brcompatd complains 
	database does not contain any Open vSwitch configuration
when it gets started.

	% brctl addbr br0
results in ovs-brcompatd dumping messages like
	Mar 24 12:16:48|00031|brcompatd|WARN|could not find valid configuration to update
	Mar 24 12:17:21|00032|brcompatd|WARN|Dropped 32 log messages in last 60 seconds due to excessive rate
	Mar 24 12:17:21|00033|brcompatd|WARN|unix:/var/run/ovsdb-server: database does not contain any Open vSwitch configuration
and the brctl stops with 
	add bridge failed: Connection timed out

It seems like I should fill up vswitchd/vswitch.ovsschema with right configurations before calling 'ovsdb-tool create', should I? 

Btw, ovs-vsctl connects to /usr/local/var/run/ovsdb-server by default instead of /var/run/ovsdb-server. Either ovs-vsctl or the INSTALL instruction needs to be revised to remove the discrepancy. 

-- JK

More information about the discuss mailing list