** Description changed: - Upgrading and existing openvswitch installation which has been manually - configured to use the DPDK alternative binary using: + [Impact] + Package upgrades on installations using the dpdk binary will be automatically switched back to the non-dpdk binary on upgrade. - sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch- + This will break all configured networking within openvswitch. + + [Test Case] + sudo apt install openvswitch-switch-dpdk + sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch + sudo apt install --reinstall openvswitch-switch-dpdk + + [Regression Potential] + + [Original Bug Report] + 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. + The prerm maintainer scripts always remove the alternatives, which + purges any manual setting done of the binaries.
** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/train Importance: Undecided Status: New ** Also affects: cloud-archive/queens Importance: Undecided Status: New ** Also affects: cloud-archive/stein Importance: Undecided Status: New ** Changed in: cloud-archive Status: New => Fix Released ** Changed in: cloud-archive/queens Status: New => Triaged ** Changed in: cloud-archive/stein Status: New => Triaged ** Changed in: cloud-archive/train Status: New => Triaged ** Changed in: openvswitch (Ubuntu Bionic) Assignee: (unassigned) => James Page (james-page) ** Changed in: openvswitch (Ubuntu Bionic) Status: Triaged => In Progress ** Description changed: [Impact] Package upgrades on installations using the dpdk binary will be automatically switched back to the non-dpdk binary on upgrade. This will break all configured networking within openvswitch. [Test Case] sudo apt install openvswitch-switch-dpdk - sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch + sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk sudo apt install --reinstall openvswitch-switch-dpdk [Regression Potential] [Original Bug Report] 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. ** Description changed: [Impact] Package upgrades on installations using the dpdk binary will be automatically switched back to the non-dpdk binary on upgrade. This will break all configured networking within openvswitch. [Test Case] sudo apt install openvswitch-switch-dpdk sudo update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk + sudo update-alternatives --query ovs-vswitchd + Name: ovs-vswitchd + Link: /usr/sbin/ovs-vswitchd + Status: manual + Best: /usr/lib/openvswitch-switch/ovs-vswitchd + Value: /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk + + Alternative: /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk + Priority: 50 + + Alternative: /usr/lib/openvswitch-switch/ovs-vswitchd + Priority: 100 + sudo apt install --reinstall openvswitch-switch-dpdk + sudo update-alternatives --query ovs-vswitchd + Name: ovs-vswitchd + Link: /usr/sbin/ovs-vswitchd + Status: auto + Best: /usr/lib/openvswitch-switch/ovs-vswitchd + Value: /usr/lib/openvswitch-switch/ovs-vswitchd + + Alternative: /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk + Priority: 50 + + Alternative: /usr/lib/openvswitch-switch/ovs-vswitchd + Priority: 100 + [Regression Potential] [Original Bug Report] 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1836713 Title: upgrade of openvswitch packages resets alternative binaries to auto To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1836713/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs