[Bug 1836713] Re: upgrade of openvswitch packages resets alternative binaries to auto

James Page james.page at ubuntu.com
Tue Jul 16 10:17:28 UTC 2019


This is a somewhat tricky issue as the alternative removal is done in
the prerm script of the currently installed package version; so we can
fix it for future updates, but the act of fixing it will cause any -dpdk
based installations to revert back to the non-dpdk version of the
binary.

** Changed in: openvswitch (Ubuntu)
       Status: New => Triaged

** Changed in: openvswitch (Ubuntu)
   Importance: Undecided => High

** Also affects: openvswitch (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: openvswitch (Ubuntu Eoan)
   Importance: High
       Status: Triaged

** Also affects: openvswitch (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Changed in: openvswitch (Ubuntu Eoan)
     Assignee: (unassigned) => James Page (james-page)

** Changed in: openvswitch (Ubuntu Disco)
   Importance: Undecided => High

** Changed in: openvswitch (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: openvswitch (Ubuntu Disco)
       Status: New => Triaged

** Changed in: openvswitch (Ubuntu Bionic)
       Status: New => Triaged

** Changed in: openvswitch (Ubuntu Eoan)
       Status: Triaged => In Progress

-- 
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/1836713

Title:
  upgrade of openvswitch packages resets alternative binaries to auto

Status in openvswitch package in Ubuntu:
  In Progress
Status in openvswitch source package in Bionic:
  Triaged
Status in openvswitch source package in Disco:
  Triaged
Status in openvswitch source package in Eoan:
  In Progress

Bug description:
  Upgrading and existing openvswitch installation which has been
  manually configured to use the DPDK alternative binary using:

    sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-
  switch-dpdk/ovs-vswitchd-dpdk

  results in the ovs-vswitchd being reset back to 'auto':

  Setting up openvswitch-switch (2.11.0-0ubuntu2~cloud0) ...
  update-alternatives: using /usr/lib/openvswitch-switch/ovs-vswitchd to provide /usr/sbin/ovs-vswitchd (ovs-vswitchd) in auto mode

  
  The prerm maintainer scripts always remove the alternatives, which purges any manual setting done of the binaries.

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



More information about the Ubuntu-openstack-bugs mailing list