2019-04-05 07:27:42 |
James Page |
bug |
|
|
added bug |
2019-04-05 07:29:15 |
James Page |
bug |
|
|
added subscriber Canonical Field High |
2019-04-05 07:29:21 |
James Page |
openvswitch (Ubuntu): status |
New |
Triaged |
|
2019-04-05 07:29:23 |
James Page |
openvswitch (Ubuntu): importance |
Undecided |
High |
|
2019-04-05 07:29:26 |
James Page |
openvswitch (Ubuntu): assignee |
|
James Page (james-page) |
|
2019-04-05 07:45:42 |
James Page |
nominated for series |
|
Ubuntu Disco |
|
2019-04-05 07:45:42 |
James Page |
bug task added |
|
openvswitch (Ubuntu Disco) |
|
2019-04-05 07:45:42 |
James Page |
nominated for series |
|
Ubuntu Bionic |
|
2019-04-05 07:45:42 |
James Page |
bug task added |
|
openvswitch (Ubuntu Bionic) |
|
2019-04-05 07:45:42 |
James Page |
nominated for series |
|
Ubuntu Cosmic |
|
2019-04-05 07:45:42 |
James Page |
bug task added |
|
openvswitch (Ubuntu Cosmic) |
|
2019-04-05 07:48:47 |
James Page |
openvswitch (Ubuntu Bionic): status |
New |
Confirmed |
|
2019-04-05 07:48:49 |
James Page |
openvswitch (Ubuntu Cosmic): status |
New |
Confirmed |
|
2019-04-05 07:48:51 |
James Page |
openvswitch (Ubuntu Bionic): importance |
Undecided |
High |
|
2019-04-05 07:48:52 |
James Page |
openvswitch (Ubuntu Cosmic): importance |
Undecided |
High |
|
2019-04-05 07:48:56 |
James Page |
openvswitch (Ubuntu Disco): status |
Triaged |
In Progress |
|
2019-04-05 07:48:58 |
James Page |
openvswitch (Ubuntu Bionic): status |
Confirmed |
Triaged |
|
2019-04-05 07:48:59 |
James Page |
openvswitch (Ubuntu Cosmic): status |
Confirmed |
Triaged |
|
2019-04-12 17:34:43 |
Launchpad Janitor |
openvswitch (Ubuntu Disco): status |
In Progress |
Fix Released |
|
2020-02-12 14:47:40 |
James Page |
openvswitch (Ubuntu Cosmic): status |
Triaged |
Won't Fix |
|
2020-02-12 14:54:44 |
James Page |
openvswitch (Ubuntu Bionic): assignee |
|
James Page (james-page) |
|
2020-02-12 14:57:15 |
James Page |
description |
When the openvswitch-switch package is upgraded, the various daemons get restarted multiple times (see maintainer script below):
# Automatically added by dh_systemd_start/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'ovs-vswitchd.service' 'ovsdb-server.service' >/dev/null || true
fi
fi
# End automatically added section
# Automatically added by dh_systemd_start/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
deb-systemd-invoke try-restart 'ovs-vswitchd.service' 'ovsdb-server.service' >/dev/null || true
fi
fi
fi
# End automatically added section
# Automatically added by dh_systemd_start/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
deb-systemd-invoke try-restart 'ovs-vswitchd.service' 'ovsdb-server.service' >/dev/null || true
fi
fi
fi
# End automatically added section
# Automatically added by dh_installinit/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/openvswitch-switch" ]; then
update-rc.d openvswitch-switch defaults >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d openvswitch-switch $_dh_action || exit 1
fi
fi
# End automatically added section
This results in a extended period of network loss for OVS ports - really the only one that is required is the restart of openvswitch-switch (which covers the other two as depends anyway).
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: openvswitch-switch 2.11.0-0ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.10-0ubuntu25
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 5 08:24:32 2019
InstallationDate: Installed on 2018-10-18 (168 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
SourcePackage: openvswitch
UpgradeStatus: Upgraded to disco on 2019-03-17 (18 days ago) |
[Impact]
OVS daemons are restarted multiple times on package upgrade resulting in a protracted period of network pause for OVS management network objects due to multiple restarts.
[Test Case]
Upgrade openvswitch-switch package/dpkg-reconfigure openvswitch-swithc
Examine systemd journal - ovsdb-server and ovs-vswitchd get restarted multiple times in quick session
[Regression Potential]
Low - Ubuntu has had this fix in packaging since Disco with no reported adverse effects.
[Original Bug Report]
When the openvswitch-switch package is upgraded, the various daemons get restarted multiple times (see maintainer script below):
# Automatically added by dh_systemd_start/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'ovs-vswitchd.service' 'ovsdb-server.service' >/dev/null || true
fi
fi
# End automatically added section
# Automatically added by dh_systemd_start/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
deb-systemd-invoke try-restart 'ovs-vswitchd.service' 'ovsdb-server.service' >/dev/null || true
fi
fi
fi
# End automatically added section
# Automatically added by dh_systemd_start/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
deb-systemd-invoke try-restart 'ovs-vswitchd.service' 'ovsdb-server.service' >/dev/null || true
fi
fi
fi
# End automatically added section
# Automatically added by dh_installinit/12ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/openvswitch-switch" ]; then
update-rc.d openvswitch-switch defaults >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d openvswitch-switch $_dh_action || exit 1
fi
fi
# End automatically added section
This results in a extended period of network loss for OVS ports - really the only one that is required is the restart of openvswitch-switch (which covers the other two as depends anyway).
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: openvswitch-switch 2.11.0-0ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.10-0ubuntu25
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 5 08:24:32 2019
InstallationDate: Installed on 2018-10-18 (168 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
SourcePackage: openvswitch
UpgradeStatus: Upgraded to disco on 2019-03-17 (18 days ago) |
|
2020-02-12 14:57:24 |
James Page |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-05-28 06:52:08 |
James Page |
openvswitch (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2021-01-05 15:59:56 |
Billy Olsen |
removed subscriber Canonical Field High |
|
|
|
2021-01-07 18:44:36 |
Łukasz Zemczak |
openvswitch (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2021-01-07 18:44:41 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2021-01-07 18:44:44 |
Łukasz Zemczak |
tags |
amd64 apport-bug disco |
amd64 apport-bug disco verification-needed verification-needed-bionic |
|
2021-01-08 15:25:03 |
Corey Bryant |
attachment added |
|
bug-1823295-verification.txt https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1823295/+attachment/5450916/+files/bug-1823295-verification.txt |
|
2021-01-08 15:25:22 |
Corey Bryant |
tags |
amd64 apport-bug disco verification-needed verification-needed-bionic |
amd64 apport-bug disco verification-done verification-done-bionic |
|
2021-01-13 17:08:14 |
Launchpad Janitor |
openvswitch (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2021-01-13 17:08:14 |
Launchpad Janitor |
cve linked |
|
2015-8011 |
|
2021-01-13 17:08:14 |
Launchpad Janitor |
cve linked |
|
2020-27827 |
|