[ovs-git] Open vSwitch: mgmt: Local config changes can cause update failures from controller. (citrix)

nicira-dev at nicira.com nicira-dev at nicira.com
Tue Aug 11 21:28:03 UTC 2009


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, citrix has been updated
       via  f35409904bc4a0a695a4aecb2435933d8a8187fe (commit)
      from  5ec6690ca447dd25e3d04b60ca66d2e6e1cf37f2 (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 f35409904bc4a0a695a4aecb2435933d8a8187fe
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f35409904bc4a0a695a4aecb2435933d8a8187fe
Author: Justin Pettit <jpettit at nicira.com>
		
mgmt: Local config changes can cause update failures from controller.
		
If ovs-vswitchd.conf is locally modified, but ovs-vswitchd is not told
to reload it, updates from the controller will be refused.  This is
because we attempt to lock the file with SHA-1 snapshot of the config
file.  Since the hashes will not match, we will never be able to lock
the file, and all remote updates will fail.  There is not much that can
be done about this, since we don't want to presume the current state of
the file is correct, since it could be in the process of being updated.
With this commit, we attempt to detect this problem and log a message
describing how to rectify it.

Bug #1516


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

Summary of changes:
 vswitchd/mgmt.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list