[Bug 1314887] Re: ifupdown hook is missing in upstart script

Arata Notsu 1314887 at bugs.launchpad.net
Thu Oct 15 19:32:36 UTC 2015


If $BRIDGES is empty,

  [ $BRIDGES ] && ifup --allow ovs $BRIDGES

will result in rc=1 and it causes openvswitch-switch to fail to start.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1314887

Title:
  ifupdown hook is missing in upstart script

Status in openvswitch package in Ubuntu:
  Fix Released
Status in openvswitch source package in Trusty:
  New

Bug description:
  ifupdown hook is present in /etc/init.d/openvswitch-switch, but not in
  /etc/init/openvswitch-switch.conf which is the default.

  === modified file 'debian/openvswitch-switch.upstart'
  --- debian/openvswitch-switch.upstart   2013-08-23 11:18:52 +0000
  +++ debian/openvswitch-switch.upstart   2014-05-01 04:26:00 +0000
  @@ -32,11 +32,13 @@
     fi
     set "$@" $OVS_CTL_OPTS
     "$@"
  +  ifup --allow ovs `ifquery --allow ovs --list`
   end script

   post-stop script
     . /usr/share/openvswitch/scripts/ovs-lib
     test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch

  +  ifdown --allow ovs `ifquery --allow ovs --list`
     ovs_ctl stop
   end script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1314887/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list