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

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


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 09ac3c3036db3ee0f7ebda35812dc6cb614ed84f
      https://github.com/openvswitch/ovs/commit/09ac3c3036db3ee0f7ebda35812dc6cb614ed84f
  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