[ovs-git] Open vSwitch: bridge: Complete initial configuration even with empty database. (branch-1.10)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 11 22:56:33 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.10 has been updated
       via  fb9a39015716d47f8d922de9fc2478b25a5bf946 (commit)
      from  783cd86f3c37b1b63280332f237115a90d1c773a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fb9a39015716d47f8d922de9fc2478b25a5bf946
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fb9a39015716d47f8d922de9fc2478b25a5bf946
Author: Ben Pfaff <blp at nicira.com>
		
bridge: Complete initial configuration even with empty database.
		
If the database was empty, that is, it did not even contain an Open_vSwitch
top-level configuration record, at ovs-vswitchd startup time, then
OVS failed to detach and used 100% CPU.  This commit fixes the problem.

This problem was introduced by commit 63ff04e82623e765 (bridge: Only
complete daemonization after db commits initial config.).

This problem did not manifest if the initscripts supplied with Open vSwitch
were used, because those initscripts always initialize the database before
starting ovs-vswitchd, so this problem affects only users with hand-rolled
local OVS startup scripts.

Bug #16090.
Reported-by: Pravin Shelar <pshelar at nicira.com>
Tested-by: Pravin Shelar <pshelar at nicira.com>
Reported-by: Paul Ingram <paul at nicira.com>
Reported-by: Amre Shakimov <ashakimov at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ansis Atteka <aatteka at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 AUTHORS           |    1 +
 vswitchd/bridge.c |   34 +++++++++++++++++-----------------
 2 files changed, 18 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list