[ovs-git] [openvswitch/ovs] b75803: ifupdown.sh: Add missing "--may-exist" option

George Diamantopoulos noreply at github.com
Fri Mar 22 20:44:06 UTC 2019


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: b75803c457d89ce98134e91772dd01bb839764bd
      https://github.com/openvswitch/ovs/commit/b75803c457d89ce98134e91772dd01bb839764bd
  Author: George Diamantopoulos <georgediam at gmail.com>
  Date:   2019-03-22 (Fri, 22 Mar 2019)

  Changed paths:
    M debian/ifupdown.sh

  Log Message:
  -----------
  ifupdown.sh: Add missing "--may-exist" option

The ifupdown.sh script passes the --may-exist option
to ovs-vsctl invocations in order for it to exit without failing
if the device to be added already exists. This holds true for
all cases of adding objects to ovs-vswitchd except for when
configuring a bond interface.

This patch adds the --may-exist option to the missing
statement, which suppresses the logging of such errors in
syslog.

Additionally, running the unpatched version of this script when
the bond interface already exists appears to break
networking with some versions of ifupdown found in debian
testing (0.8.35), where the service won't start up properly
because of the aforementioned errors.

Signed-off-by: George Diamantopoulos <georgediam at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list