[Bug 1723480] [NEW] openvswitch-switch package postinst modifies existing configuration

Launchpad Bug Tracker 1723480 at bugs.launchpad.net
Tue Oct 17 20:19:57 UTC 2017


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Similar to, but slightly different from bug 1712444, we have found the
upgrade of the openvswitch-switch package by unattended-upgrade (or
otherwise) will trigger the service restart of openvswitch-switch within
the neutron-openvswitch charm if the config-changed hook is called.

While this is a reasonable behavior based on an assumption that if the
/etc/default/openvswitch-switch file changes due to upgrade and the
charm resets it to the charm-configured version of the file, we should
want to restart the service to be on the latest code.  However, the
restart of the service causes between 6-12 seconds of network outage for
the tenant VMs utilizing OVS.

Would it be possible to have a config-flag to disable the charm's
ability to restart the openvswitch-switch service outside of the install
hook to avoid automated network outages due to package upgrades?

Elsewise, is there a way to serialize the resulting restarts in such a
way that only one member of the neutron-openvswitch application/service
is restarting at a time along with a buffer to allow for high
availability applications to failover and fail back and not be afflicted
by multiple nodes' switches being restarted simultaneously.

** Affects: charm-neutron-openvswitch
     Importance: Undecided
         Status: Invalid

** Affects: cloud-archive
     Importance: Undecided
         Status: New

** Affects: openvswitch
     Importance: Undecided
         Status: Invalid

** Affects: openvswitch (Ubuntu)
     Importance: High
     Assignee: Frode Nordahl (fnordahl)
         Status: Triaged

** Affects: openvswitch (Ubuntu Xenial)
     Importance: High
         Status: Triaged

** Affects: openvswitch (Ubuntu Zesty)
     Importance: High
         Status: Triaged

** Affects: openvswitch (Ubuntu Artful)
     Importance: High
     Assignee: Frode Nordahl (fnordahl)
         Status: Triaged


** Tags: canonical-bootstack canonical-is patch sts uosci
-- 
openvswitch-switch package postinst modifies existing configuration
https://bugs.launchpad.net/bugs/1723480
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list